Skip to content

Commit

Permalink
Remove prefix 'v' in case of full version tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Jan 23, 2025
1 parent 22ed83f commit 97e8e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
# Version number: current tag dot number of commits after tagging.
# If at exactly a tag, that will be left as-is
BANT_VERSION=$(git describe --match=v* 2>/dev/null \
| sed 's/v\([^-]*\)-\([0-9]*\)-.*/\1-\2/')
| sed 's/^v//' | sed 's/\([^-]*\)-\([0-9]*\)-.*/\1-\2/')
echo BANT_VERSION=${BANT_VERSION} >> $GITHUB_ENV
- name: Create Cache Timestamp
Expand Down

0 comments on commit 97e8e28

Please sign in to comment.