Skip to content

Commit

Permalink
release v1.0.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Aug 8, 2024
1 parent 2c2187f commit 10cc266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ try {
} catch (e) {
console.error(`Publish failed: ${e.message}`);
process.exit(1);
} finally {
fs.removeSync(npmrcPath);
}

// Push tag to github
Expand All @@ -58,7 +60,6 @@ if (RELEASE_DRY_RUN !== 'true') {
await $`git tag ${tagName}`;
await $`git push origin ${tagName}`;
console.info(`Pushed tag successfully`);
fs.removeSync(npmrcPath);
await $`git add --all`;
const commitMsg = `release ${tagName}`;
await $`git commit -m ${commitMsg}`;
Expand Down

0 comments on commit 10cc266

Please sign in to comment.