diff --git a/package.json b/package.json index d68a43b..34b6aad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rspack/plugin-react-refresh", - "version": "1.5.0", + "version": "1.5.1", "repository": "https://github.com/rspack-contrib/rspack-plugin-react-refresh", "license": "MIT", "description": "React refresh plugin for Rspack", @@ -25,7 +25,7 @@ "prepare": "simple-git-hooks && npm run build", "test": "jest --colors", "release": "node ./scripts/release.mjs", - "bump": "npx bumpp" + "bump": "npx bumpp --no-push --no-tag --no-commit" }, "files": ["client", "dist", "exports"], "simple-git-hooks": { diff --git a/scripts/release.mjs b/scripts/release.mjs index f7cdf6e..fddb795 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -23,7 +23,7 @@ const publishVersion = pkg.version; const parsed = cli.parse(); const npmTag = parsed.options.tag; -const isDryRun = parsed.options.dryRun; +const isDryRun = parsed.options.dryRun === 'true'; const allowedTags = ['latest', 'canary', 'alpha', 'beta', 'rc', 'nightly']; if (!allowedTags.includes(npmTag)) {