We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fdf3bd7 + e70e297 commit 34a6b04Copy full SHA for 34a6b04
.github/workflows/ci-cd.yml
@@ -319,7 +319,7 @@ jobs:
319
id: latest_tag
320
run: |
321
git fetch --tags
322
- echo "TAG=$(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
+ echo "TAG=$(git tag -l | grep 'v.*' | sort -V | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
323
- name: Overwrite the tag of release event with latest commit (i.e. including the auto directory)
324
if: github.event_name == 'release'
325
0 commit comments