Skip to content

Commit

Permalink
Merge branch 'release.sh-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaaskarian committed Jul 26, 2024
2 parents c54f483 + b28d677 commit bdb6f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
. ./.error-on-no-arg.sh
. ./.shell-methods.sh

LAST_TAG=$(git tag | tail -n 1)
LAST_TAG=$(git tag | rg "\d" | tail -n 1)

PACKAGE_NAME=c3
USERNAME=nimaaskarian
Expand All @@ -12,7 +12,7 @@ SOURCE_MD5=""
make_tag() {
git tag "$TAG" 2> /dev/null || {
echo_warning tag "$TAG" already exists.
LAST_TAG=$(git tag | tail -n 2 | head -n 1)
LAST_TAG=$(git tag | rg "\d" | tail -n 2 | head -n 1)
}
}

Expand Down

0 comments on commit bdb6f30

Please sign in to comment.