Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Commit f4d99f0

Browse files
committed
chore: change release flow to immediate push
This make `npm run release` to immediately: - ask - generate changelog + bump version - commit & tag - git push --follow-tags It is the opposite of the previous workflow which is: - generate changelog for manual review and also bump version - edit it if applicable - run `npm run release:ok` when ready (it will commit, tag, then push)
1 parent c7fd692 commit f4d99f0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lerna.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
"access": "public"
77
},
88
"command": {
9-
"publish": {
9+
"version": {
1010
"conventionalCommits": true,
11-
"message": "chore(release): %s [skip ci]"
11+
"message": "chore(release): %s [skip ci]",
12+
"allowBranch": "master"
1213
}
1314
},
1415
"version": "0.2.1"

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
"predocs": "typedoc packages/library/src",
6969
"docs": "opn docs/index.html",
7070
"prepublishOnly": "npm run build",
71-
"release": "lerna version --no-push --no-git-tag-version --yes",
72-
"release:ok": "lerna version",
71+
"release": "lerna version",
7372
"start": "lerna exec --no-bail -- rollup -c --silent --watch",
7473
"test": "jest --watch",
7574
"test:coverage": "jest --collectCoverageFrom='packages/*/src/**/*.ts' --coverage"

0 commit comments

Comments
 (0)