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:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user