Skip to content

Commit

Permalink
Fix release script for experimental version
Browse files Browse the repository at this point in the history
luin committed Jan 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d9547c7 commit 27def7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
@@ -122,10 +122,10 @@ exec(`npm version ${version} --workspaces --force`);
exec("git add **/package.json");
exec(`npm version ${version} --include-workspace-root --force`);

const pushCommand = `git push origin ${process.env.GITHUB_REF_NAME} --follow-tags`;
if (distTag === "experimental") {
console.log(`Skipping: "${pushCommand}" for experimental version`);
} else {
const pushCommand = `git push origin ${process.env.GITHUB_REF_NAME} --follow-tags`;
if (dryRun) {
console.log(`Skipping: "${pushCommand}" in dry-run mode`);
} else {

0 comments on commit 27def7d

Please sign in to comment.