Look up the release under the tag changesets actually creates - #2358
Merged
Conversation
The publish of 6.2.1 succeeded on npm and then failed attaching dist.zip,
with "release not found" against v6.2.1.
Changesets only prefixes a tag with v for a single-package repository. In
@changesets/cli, buildGitTag returns `v${version}` when the workspace tool is
"root" and `${name}@${version}` otherwise, so becoming a pnpm workspace moved
the tags to dropzone@<version> without anything here saying so. This step
kept asking for v<version>, which had never been created.
It now uses the name and version the action reports, which is the tag
changesets built from the same two values.
enyo
force-pushed
the
fix-release-tag
branch
from
September 13, 2026 10:06
6ff6793 to
121930a
Compare
Contributor
Coverage Report
File CoverageNo changed files found. |
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.
The 6.2.1 publish succeeded on npm and then failed on the last step, attaching
dist.zip, withrelease not foundagainstv6.2.1.Why
Changesets only prefixes a tag with
vfor a single-package repository. From@changesets/cli:tool.typeis"root"only when there is no workspace. Becoming a pnpm workspace therefore moved the tags todropzone@<version>with nothing announcing it, while this step went on asking forv<version>— a release that had never been created. I introduced that mismatch in #2353.The step now builds the tag from the
nameandversionthe action reports, which are the same two values changesets used.Keeping the
<name>@<version>schemeRestoring
v<version>would mean taking tagging away from the tool —create-github-releases: false,push-git-tags: false, and roughly twenty lines here to create the tag, extract the version's section out ofCHANGELOG.mdfor release notes, create the release and attach the asset. That is code reimplementing what the action already does, and the notes formatting would be free to drift from it.Nothing functional depended on the
vprefix:/npm/resolve from the registryv<version>from whatever upstream calls its tag — enyo/dropzone-packagist@9bca440/gh/addresses the tag fine, it is just spelled with two@. Verified against the live tag:cdn.jsdelivr.net/gh/enyo/dropzone@dropzone@6.2.1/packages/dropzone/package.jsonreturns 200 and reports6.2.1, while the same path at@v6.2.0returns 404CHANGELOGlines pointing atv5.9.3, which are history and unaffectedWhat remains is cosmetic —
dropzone@6.2.1sits abovev6.2.0on the releases page — and it is the scheme that stays correct if this repository ever publishes a second package.6.2.1
dropzone@6.2.1is published on npm and its GitHub release exists but has nodist.zip, because that is the step that failed. Attaching it by hand is the remaining repair, and the mirror fix had to land first: until it did, the next hourly sync would have tagged the mirrordropzone@6.2.1and made the release invisible to composer.