We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0750877 commit e8f60baCopy full SHA for e8f60ba
1 file changed
.github/workflows/sync.yml
@@ -23,7 +23,9 @@ jobs:
23
-H 'Accept: application/vnd.github+json' \
24
-H 'X-GitHub-Api-Version: 2022-11-28' \
25
'https://api.github.com/repos/gorhill/ublock/tags' | \
26
- jq -r '[.[].name | select(test("^[0-9]"))] | sort_by(.) | last')"
+ jq -r '[.[].name | select(test("^[0-9]"))] | .[]' | \
27
+ sort -rV | \
28
+ head -1)"
29
if [[ "$UPSTREAM_TAG" == 'null' ]]; then
30
echo "ERROR: Failed to retrieve upstream version!"
31
exit 1
0 commit comments