File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const release = async () => {
118
118
'npm' ,
119
119
[
120
120
'publish' ,
121
- '--dist- tag' ,
121
+ '--tag' ,
122
122
distTag ,
123
123
// must specify registry url: https://github.com/lerna/lerna/issues/896#issuecomment-311894609
124
124
'--registry' ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const chalk = require('chalk') // eslint-disable-line
2
2
const msgPath = process . env . GIT_PARAMS
3
3
const msg = require ( 'fs' ) . readFileSync ( msgPath , 'utf-8' ) . trim ( )
4
4
5
- const commitRE = / ^ ( v \d + \. \d + \. \d + ( - ( a l p h a | b e t a | r c .\d + ) ) ? $ ) | ( ( r e v e r t : ) ? ( f e a t | f i x | d o c s | s t y l e | r e f a c t o r | p e r f | t e s t | w o r k f l o w | c i | c h o r e | t y p e s ) ( \( .+ \) ) ? ! ? : .{ 1 , 50 } ) /
5
+ const commitRE = / ^ ( v \d + \. \d + \. \d + ( - ( a l p h a | b e t a | r c .\d + ) ) ? ) | ( ( r e v e r t : ) ? ( f e a t | f i x | d o c s | s t y l e | r e f a c t o r | p e r f | t e s t | w o r k f l o w | c i | c h o r e | t y p e s ) ( \( .+ \) ) ? ! ? : .{ 1 , 50 } ) /
6
6
7
7
if ( ! commitRE . test ( msg ) ) {
8
8
console . log ( )
You can’t perform that action at this time.
0 commit comments