From 513186d9511405de6f3cb3c224bc77e81a7830e3 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Tue, 26 May 2026 11:44:14 -0700 Subject: [PATCH] chore(release): create annotated tag so --follow-tags pushes it A lightweight tag is skipped by 'git push --follow-tags', so v$VERSION stayed local-only and 'gh release create' failed at the end of the release. Use an annotated tag (-a) so it pushes with the release commit. --- scripts/release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 5929bc86..ec861913 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -141,8 +141,10 @@ git commit -m "chore(release): ${NEW_VERSION}" echo -e "${GREEN}✅ Release commit created${NC}\n" # Step 8: Create git tag +# Annotated (-a) so `git push --follow-tags` below actually pushes it. A lightweight tag is +# skipped by --follow-tags, which leaves the tag local-only and makes `gh release create` fail. echo -e "${BLUE}7️⃣ Creating git tag v${NEW_VERSION}...${NC}" -git tag "v${NEW_VERSION}" +git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}" echo -e "${GREEN}✅ Tag created${NC}\n" # Step 9: Push to GitHub