Updated workflow

This commit is contained in:
phoenix
2025-10-31 14:42:22 -04:00
parent 77c0c99927
commit 8751050126
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Create version
id: version
run: |
VERSION=$(git tag --sort=-version:refname | sed 's/-\(main\|devel\).*//' | uniq | head -n 1)
VERSION=$(git tag | grep -o '^v[0-9.]*' | sort -V | uniq | tail -n 1)
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)