Skip to content

fix: verify npm releases using actual dist-tag output - #18

Merged
albertovincenzi merged 1 commit into
mainfrom
fix/npm-release-verification
Oct 19, 2026
Merged

albertovincenzi merged 1 commit into
mainfrom
fix/npm-release-verification

Conversation

@albertovincenzi

Copy link
Copy Markdown
Contributor

The 2.8.0 publish succeeded, but the final verification failed because npm dist-tag ls --json still returned latest: 2.8.0 as text. Parse the CLI's actual text output and fail if the latest tag is missing, invalid, or does not match the committed version.

Add a manual verify_only input to check a completed release without republishing the immutable npm version. Normal automatic releases continue to run all tests, build and archive checks before publishing.

Validation: eight release tests, including the exact observed output and missing/malformed-tag cases; parser exercised against live npm CLI output; actionlint and git diff checks.

@albertovincenzi
albertovincenzi merged commit 0584c90 into main Oct 19, 2026
5 checks passed
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.

1 participant