We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7168ea commit 3cccddbCopy full SHA for 3cccddb
.github/workflows/build.yml
@@ -35,7 +35,7 @@ jobs:
35
run: |
36
# Get all tags for the repo and find the latest tag for the branch being built
37
git fetch --tags --force --quiet
38
- tag=$(git tag -l $BRANCH_NAME* | tail -1)
+ tag=$(git tag -l $BRANCH_NAME* | sort -V | tail -1)
39
if [ ! -z "$tag" ];
40
then
41
# Increment the build number if a tag is found
0 commit comments