Skip to content

Conversation

@ibrahimcesar
Copy link
Owner

Fixes the workflow error: "tag doesn't exist in the repo, aborting due to --verify-tag flag"

The issue occurred because:

  1. "Create and push tag" step creates and pushes the tag
  2. "Create GitHub Release" step deletes the release with --cleanup-tag (which also deletes the tag we just created!)
  3. Then tries to create release with --verify-tag for a non-existent tag

Changes:

  • Removed --cleanup-tag from gh release delete (tag deletion is handled in the "Create and push tag" step)
  • Removed --verify-tag from gh release create (not needed since we just created and pushed the tag)

Now the workflow correctly:

  1. Deletes old tag if exists
  2. Creates and pushes new tag
  3. Deletes old release (without touching the tag)
  4. Creates new release using the freshly pushed tag ✅

This fix is required for the "none" version bump option to work properly when republishing existing versions like v3.3.0.

Fixes the workflow error: "tag doesn't exist in the repo, aborting due to --verify-tag flag"

The issue occurred because:
1. "Create and push tag" step creates and pushes the tag
2. "Create GitHub Release" step deletes the release with --cleanup-tag
   (which also deletes the tag we just created!)
3. Then tries to create release with --verify-tag for a non-existent tag

Changes:
- Removed --cleanup-tag from gh release delete
  (tag deletion is handled in the "Create and push tag" step)
- Removed --verify-tag from gh release create
  (not needed since we just created and pushed the tag)

Now the workflow correctly:
1. Deletes old tag if exists
2. Creates and pushes new tag
3. Deletes old release (without touching the tag)
4. Creates new release using the freshly pushed tag ✅

This fix is required for the "none" version bump option to work properly
when republishing existing versions like v3.3.0.
@ibrahimcesar ibrahimcesar merged commit 79b5762 into main Nov 15, 2025
4 of 7 checks passed
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
ES Module 3.05 KB (0%)
CommonJS 3.02 KB (0%)
CSS 1.05 KB (0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants