Skip to content

Commit adcd519

Browse files
authored
chore: --select-version (#448)
* chore: --selectVersion * chore: readme
1 parent fe71be1 commit adcd519

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ $ npm run release -- --skip-git-status-check
5252
$ npm run release -- --skip-build
5353
$ npm run release -- --conventional-graduate
5454
$ npm run release -- --conventional-graduate preset-react,plugin-dva
55+
$ npm run release -- --select-version
5556
```
5657

5758
## Create new package

scripts/release.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ async function release() {
105105
// '--no-push',
106106
'--message',
107107
'chore(release): Publish',
108-
'--conventional-commits',
108+
args.selectVersion ? '' : '--conventional-commits',
109109
]
110+
.filter(Boolean)
110111
.concat(conventionalGraduate)
111112
.concat(conventionalPrerelease),
112113
{

0 commit comments

Comments
 (0)