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 33f4b5c commit 4f7e3a1Copy full SHA for 4f7e3a1
.github/workflows/bootstrap_archives.yml
@@ -50,7 +50,7 @@ jobs:
50
id: get_tag
51
run: |
52
new_tag="bootstrap-$(date "+%Y.%m.%d")"
53
- existing_tag_revision=$(git tag | grep "$new_tag" | cut -d- -f3 | cut -dr -f2)
+ existing_tag_revision=$(git tag | grep "$new_tag" | sort -r | head -n 1 | cut -d- -f3 | cut -dr -f2)
54
if [ -n "$existing_tag_revision" ]; then
55
tag_rev=$((existing_tag_revision + 1))
56
else
0 commit comments