Added tag check for metadata processing

This commit is contained in:
Thorsten Sommer 2025-03-12 13:17:23 +01:00
parent 200964422d
commit de56b0d9e9
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -46,6 +46,7 @@ jobs:
echo "version=${version}" >> "$GITHUB_OUTPUT" echo "version=${version}" >> "$GITHUB_OUTPUT"
- name: Check tag vs. metadata version - name: Check tag vs. metadata version
if: startsWith(github.ref, 'refs/tags/v')
run: | run: |
# Ensure, that the tag matches the version in the metadata file: # Ensure, that the tag matches the version in the metadata file:
if [ "${GITHUB_REF}" != "refs/tags/${FORMATTED_VERSION}" ]; then if [ "${GITHUB_REF}" != "refs/tags/${FORMATTED_VERSION}" ]; then