mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -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)"
|
git commit -m "Add VERSION file for ${TAG} (from DMS)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If tag doesn't exist (or differs), (re)create it
|
git tag -f "${TAG}"
|
||||||
if git rev-parse -q --verify "refs/tags/${TAG}" >/dev/null; then
|
|
||||||
echo "Tag ${TAG} already exists"
|
|
||||||
else
|
|
||||||
git tag "${TAG}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Push commit (if any) and tag
|
git push origin HEAD
|
||||||
git push --follow-tags origin HEAD
|
git push -f origin "${TAG}"
|
||||||
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
id: changelog
|
id: changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user