Workflow fix

This commit is contained in:
phoenix
2025-11-01 20:45:17 -04:00
parent 27b9f1df4d
commit c316c0d9b9
+2 -1
View File
@@ -25,7 +25,8 @@ jobs:
run: |
echo "Creating version"
VERSION=$(git tag --sort=-version:refname | sed 's/-\(main\|devel\).*//' | uniq | head -n 1)
LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
VERSION=$(echo "$LATEST_TAG" | grep -o 'v[0-9]\+\.[0-9]\+\.[0-9]\+')
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)