fix(github/workflows): fix latest_tag getter (#4191)

This commit is contained in:
Karsa
2026-03-23 16:04:35 +01:00
committed by GitHub
parent 5f83bbf7e7
commit f50aa846ab
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
- name: Get latest tag
id: latest-tag
run: echo "LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_OUTPUT
run: echo "LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)" >> $GITHUB_OUTPUT
- name: Log latest tag
run: echo '${{ steps.latest-tag.outputs.LATEST_TAG }}'