Skip to content

Commit e70e297

Browse files
committed
fixed up sorting of version tags
1 parent d1747c9 commit e70e297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ jobs:
319319
id: latest_tag
320320
run: |
321321
git fetch --tags
322-
echo "TAG=$(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
322+
echo "TAG=$(git tag -l | grep 'v.*' | sort -V | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
323323
- name: Overwrite the tag of release event with latest commit (i.e. including the auto directory)
324324
if: github.event_name == 'release'
325325
run: |

0 commit comments

Comments
 (0)