1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

workflow: fix tag version generation

This commit is contained in:
bbedward
2025-10-15 09:00:58 -04:00
parent ab4f6baae6
commit 5217006dec

View File

@@ -36,15 +36,10 @@ jobs:
git commit -m "Add VERSION file for ${TAG} (from DMS)"
fi
# If tag doesn't exist (or differs), (re)create it
if git rev-parse -q --verify "refs/tags/${TAG}" >/dev/null; then
echo "Tag ${TAG} already exists"
else
git tag "${TAG}"
fi
git tag -f "${TAG}"
# Push commit (if any) and tag
git push --follow-tags origin HEAD
git push origin HEAD
git push -f origin "${TAG}"
- name: Generate Changelog
id: changelog