Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 8, 2023
1 parent d9111e7 commit 2df0e18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
name: Get remote package data
run: |
#!/bin/bash
curl --show-error --fail --silent "https://nu.nl" --output ./package_data.html
#curl --show-error --fail --silent "https://pkgs.alpinelinux.org/package/edge/community/x86_64/munin" --output ./package_data.html
curl --show-error --fail --silent "https://pkgs.alpinelinux.org/package/edge/community/x86_64/munin" --output ./package_data.html
latest_tag=$(grep -A 3 -i version ./package_data.html | sed -E 's#.*>([0-9\.]+)-r[0-9]+</a>#\1#g' | tail -1 | sed 's/^[ \t]*//;s/[ \t]*$//')
echo "latest_tag=$latest_tag" >> $GITHUB_ENV
-
Expand Down

0 comments on commit 2df0e18

Please sign in to comment.