docs: Add warning about force-pushing when moving an existing git tag.

This commit is contained in:
Kantine Wrapper
2026-02-17 21:04:11 +01:00
parent 20957c3582
commit 05bc06660c

View File

@@ -273,6 +273,7 @@ echo "=== Tagging $VERSION ==="
if git rev-parse "$VERSION" >/dev/null 2>&1; then
git tag -f "$VERSION"
echo "🔄 Tag $VERSION moved to current commit."
echo " ⚠️ Force-push required: git push origin --force tag $VERSION"
else
git tag "$VERSION"
echo "✅ Created tag: $VERSION"