1 parent 84fc24a commit 2e7c4a3Copy full SHA for 2e7c4a3
1 file changed
justfile
@@ -29,3 +29,14 @@ publish:
29
# Publish the latest GitHub draft release (make it public)
30
gh-publish:
31
gh release edit $(git describe --tags --abbrev=0) --draft=false
32
+
33
+# Delete existing draft release + tag, re-tag HEAD, push to re-trigger CI
34
+gh-retag:
35
+ #!/usr/bin/env bash
36
+ set -euo pipefail
37
+ TAG=$(git describe --tags --abbrev=0)
38
+ echo "Re-tagging ${TAG} at HEAD"
39
+ gh release delete "${TAG}" --yes --cleanup-tag 2>/dev/null || true
40
+ git tag -d "${TAG}" 2>/dev/null || true
41
+ git tag -a "${TAG}" -m "release: ${TAG#v}"
42
+ git push origin "${TAG}"
0 commit comments