github actions: fix typo in bootstrap_archives.yml

This commit is contained in:
Leonid Pliushch 2021-09-17 21:57:42 +03:00
parent e2402dfceb
commit 2b63f877c5
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ jobs:
run: |
new_tag="bootstrap-$(date "+%Y.%m.%d")"
existing_tag_revision=$(git tag | grep "$new_tag" | cut -d- -f3 | cut -dr -f2)
if [ -n "$existing_tag" ]; then
if [ -n "$existing_tag_revision" ]; then
tag_rev=$((existing_tag_revision + 1))
else
tag_rev=1