Avoid duplicate GitHub releases after publishing - #504
Merged
Merged
Conversation
Member
Author
|
Merged as 72e4cef after all PR checks passed. Main CI 35648454541 and Release 35648454092 both pass. The release log confirms every existing npm version was skipped; no version was republished and no duplicate GitHub release was attempted. Viewer trusted publishing is now configured for transloadit/node-sdk → release.yml, approved by the maintainer. Viewer remains explicitly alpha: 0.0.1, alpha npm tag and GitHub prerelease. npm also retains latest after refusing its removal with HTTP 400; this limitation is documented, not hidden. Registry-installed Content adoption continues in https://github.com/transloadit/content/pull/6047. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The #502 release successfully published all seven packages and created their GitHub releases, but the action then failed trying to create the stable releases a second time. Both
changeset publishand the addedchangeset tagpass announced those tags;changesets/actionconsumes each announcement.Change
publish --no-git-tag, followed by onetagpass. That pass also includes Viewer, already published separately underalpha.latesttag: the registry returns HTTP 400, as also reported in npmjs doesn't allow removing "latest" tag? npm/cli#8490. Viewer remains explicitly alpha in its README, description and GitHub prerelease.No package versions or published runtime bytes change. Do not delete valid releases or republish existing versions to recover this run.
Verification
--no-git-tag, then all eight pass with the fix.yarn checkandyarn verify:fullpass.After merging, verify main's release workflow completes without republishing existing versions. API2 deployment remains with Kevin/deployer; Uppy is untouched.
#502
https://github.com/transloadit/content/pull/6047