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 fa64a45 commit 2c2187f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rspack/plugin-preact-refresh",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"repository": "https://github.com/rspack-contrib/rspack-plugin-preact-refresh",
"license": "MIT",
"description": "Preact refresh plugin for rspack",
Expand Down
5 changes: 3 additions & 2 deletions scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ if (RELEASE_DRY_RUN !== 'true') {
await $`git config --global user.name "github-actions[bot]"`;
await $`git config --global user.email "github-actions[bot]@users.noreply.github.com"`;
await $`git status`;
const tagName = `v${RELEASE_TAG}`;
const tagName = `v${nextVersion}`;
await $`git tag ${tagName}`;
await $`git push origin ${tagName}`;
console.info(`Pushed tag successfully`);
fs.removeSync(npmrcPath);
await $`git add --all`;
await $`git commit -m "release ${tagName}"`;
const commitMsg = `release ${tagName}`;
await $`git commit -m ${commitMsg}`;
await $`git push`;
console.info(`Pushed branch successfully`);
} catch (e) {
Expand Down

0 comments on commit 2c2187f

Please sign in to comment.