Skip to content

fix(release): create tags through API#282

Merged
pgherveou merged 1 commit into
mainfrom
fix/release-tag-creation
Jul 15, 2026
Merged

fix(release): create tags through API#282
pgherveou merged 1 commit into
mainfrom
fix/release-tag-creation

Conversation

@pgherveou

Copy link
Copy Markdown
Collaborator

Summary

  • create release tags through the authenticated GitHub API
  • keep the existing remote-tag idempotency check
  • avoid relying on Git credentials intentionally omitted by checkout

Why

The recovered 0.4.0 release published successfully, then failed in Create release tags because the HTTPS Git push could not authenticate with persist-credentials: false.

The missing @parity/truapi@0.4.0 tag and GitHub Release were repaired manually at the original release SHA. This change prevents the same partial failure when #278 releases @parity/truapi-host@0.1.0.

Validation

  • release workflow passes Prettier validation
  • existing remote tags follow the idempotent skip path
  • the same gh api tag creation call successfully restored the 0.4.0 tag

The checkout intentionally omits persisted Git credentials. Use the\nauthenticated GitHub API instead of an HTTPS Git push.
@pgherveou pgherveou requested a review from a team July 15, 2026 14:04
@pgherveou pgherveou added this pull request to the merge queue Jul 15, 2026
Merged via the queue into main with commit 02f4bcc Jul 15, 2026
12 checks passed
@pgherveou pgherveou deleted the fix/release-tag-creation branch July 15, 2026 14:29
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.

2 participants