Skip to content

Commit 3cccddb

Browse files
committed
Update github action do address github tags sorting issue
1 parent f7168ea commit 3cccddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
# Get all tags for the repo and find the latest tag for the branch being built
3737
git fetch --tags --force --quiet
38-
tag=$(git tag -l $BRANCH_NAME* | tail -1)
38+
tag=$(git tag -l $BRANCH_NAME* | sort -V | tail -1)
3939
if [ ! -z "$tag" ];
4040
then
4141
# Increment the build number if a tag is found

0 commit comments

Comments
 (0)