diff --git a/package.json b/package.json index 63a678f1ea6..06f87eb8a6e 100644 --- a/package.json +++ b/package.json @@ -36,15 +36,16 @@ "test:prod": "jest --coverage --silent", "preversion": "npm run build && npm run lint && npm run test", "version": "ts-node scripts/release changelog && git add -A", - "version:alpha": "lerna version prerelease --preid alpha", - "version:beta": "lerna version prerelease --preid beta", - "version:rc": "lerna version prerelease --preid rc", - "version:patch": "lerna version patch", - "version:minor": "lerna version minor", - "version:preminor": "lerna version preminor --preid beta", - "version:major": "lerna version major", - "release:force": "lerna publish from-package --yes && ts-node scripts/release release", - "prelease:force": "lerna publish from-package --yes --dist-tag next && ts-node scripts/release release", + "publish:note": "ts-node scripts/release release", + "version:alpha": "lerna version prerelease --preid alpha && npm run publish:note", + "version:beta": "lerna version prerelease --preid beta && npm run publish:note", + "version:rc": "lerna version prerelease --preid rc && npm run publish:note", + "version:patch": "lerna version patch && npm run publish:note", + "version:minor": "lerna version minor && npm run publish:note", + "version:preminor": "lerna version preminor --preid beta && npm run publish:note", + "version:major": "lerna version major && npm run publish:note", + "release:force": "lerna publish from-package --yes", + "prelease:force": "lerna publish from-package --yes --dist-tag next", "release": "lerna publish", "prelease": "lerna publish --dist-tag next", "lint": "eslint .", @@ -190,4 +191,4 @@ "dependencies": { "@ant-design/icons": "^4.0.2" } -} +} \ No newline at end of file