version fix

This commit is contained in:
plasmagoat 2025-06-09 13:21:40 +02:00
parent 7bd0b3c4cd
commit a2938a489f
2 changed files with 6 additions and 5 deletions

View file

@ -107,11 +107,11 @@ jobs:
id: version
run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then
echo "tag_name=${{ github.ref_name }}" >> "$GITHUB_OUTPUT"
TAG_NAME="${{ github.ref_name }}"
else
echo "tag_name=dev-$(date +%Y%m%d)" >> "$GITHUB_OUTPUT"
TAG_NAME="dev-$(date +%Y%m%d)-${GITHUB_SHA::7}"
fi
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
EOF
# - name: Parse image filename
# id: image