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 () => {
118118 'npm' ,
119119 [
120120 'publish' ,
121- '--dist- tag' ,
121+ '--tag' ,
122122 distTag ,
123123 // must specify registry url: https://github.com/lerna/lerna/issues/896#issuecomment-311894609
124124 '--registry' ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const chalk = require('chalk') // eslint-disable-line
22const msgPath = process . env . GIT_PARAMS
33const msg = require ( 'fs' ) . readFileSync ( msgPath , 'utf-8' ) . trim ( )
44
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 } ) /
66
77if ( ! commitRE . test ( msg ) ) {
88 console . log ( )
You can’t perform that action at this time.
0 commit comments