8000 ci: Update publish script to optionally accept a new verison · aklinker1/zeta@e44ab7b · GitHub
[go: up one dir, main page]

Skip to content

Commit e44ab7b

Browse files
committed
ci: Update publish script to optionally accept a new verison
1 parent 693477c commit e44ab7b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎scripts/publish.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ if (currentBranch !== "main") {
3434

3535
console.log(`\nBumping version and generating changelog...`);
3636

37-
const changelogConfig = await loadChangelogConfig(process.cwd(), {});
37+
const changelogConfig = await loadChangelogConfig(process.cwd(), {
38+
newVersion: process.env.NEW_VERSION,
39+
});
3840
const commits = parseCommits(
3941
await getGitDiff(changelogConfig.from),
4042
changelogConfig,

0 commit comments

Comments
 (0)
0