Skip to content

Write HTML. Render video. Built for agents.

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

Vance Ingalls9cc3550f7ed6
diff --git a/scripts/set-version.ts b/scripts/set-version.ts
index 0241626a6d..8126d51b6b 100644
--- a/scripts/set-version.ts
+++ b/scripts/set-version.ts
@@ -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).`,
+ );
}
}