Skip to content

Commit

Permalink
fix bumpver, sorta
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Jan 1, 2023
1 parent ac5b795 commit 8be2fe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/bumpver
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
# Most recent tag
OLDTAG=`git describe --tags --abbrev=0`
OLDVER=$(echo "$OLDTAG" | sed -E 's/^v[0-9]+\.[0-9]+-[a-z]+//')
OLDPRE=$(echo "$OLDTAG" | sed -E 's/[0-9]+$//')
NEWVER=`expr $OLDVER + 1`
NEWTAG="v1.2-alpha$NEWVER"
NEWTAG="$OLDPRE$NEWVER"
DATE=`date '+%B %d, %Y'`

echo "Bumping to $NEWTAG..."
Expand Down

0 comments on commit 8be2fe7

Please sign in to comment.