fix(release): stop advising 'git push --tags' in release next-steps (#1521)

set-version's stable-release next-steps printed `git push origin main --tags`,
which pushes every local tag and fails the whole push on any pre-existing tag
(it broke the v0.6.107 release). #1517 fixed CONTRIBUTING.md + annotated the tag
but missed this console message. Now prints `git push origin main` +
`git push origin v<version>`, matching the pre-release branch.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
Vance Ingalls
2026-06-16 21:26:49 -07:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 15f50b96dd
commit 092a08e6c8
+6 -1
View File
@@ -319,7 +319,12 @@ function printReleaseNextSteps(version: string) {
console.log(`Consumers install with: npm install @hyperframes/core@${distTag}`);
console.log(`\nRun 'git push origin v${version}' to trigger the publish workflow.`);
} else {
console.log(`Run 'git push origin main --tags' to trigger the publish workflow.`);
console.log(`\nRun the following to trigger the publish workflow:`);
console.log(` git push origin main`);
console.log(` git push origin v${version}`);
console.log(
`(push the specific tag, NOT 'git push --tags' — that fails on any pre-existing tag).`,
);
}
}