File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,13 @@ import setupCommand from './commands/setup.js';
99import modelCommand from './commands/model.js' ;
1010import hookCommand , { isCalledFromGitHook } from './commands/hook.js' ;
1111
12- const notifier = updateNotifier ( { pkg } ) ;
12+ const notifier = updateNotifier ( {
13+ pkg,
14+ distTag : version . includes ( '-' ) ? 'develop' : 'latest' ,
15+ } ) ;
16+
1317if ( version !== '0.0.0-semantic-release' && version . includes ( '-' ) ) {
14- notifier . notify ( ) ;
18+ notifier . notify ( ) ;
1519}
1620
1721const rawArgv = process . argv . slice ( 2 ) ;
4650 } ,
4751 type : {
4852 type : String ,
49- description : 'Git commit message format (default: conventional). Supports conventional and gitmoji' ,
53+ description :
54+ 'Git commit message format (default: conventional). Supports conventional and gitmoji' ,
5055 alias : 't' ,
5156 } ,
5257 confirm : {
5358 type : Boolean ,
54- description : 'Skip confirmation when committing after message generation (default: false)' ,
59+ description :
60+ 'Skip confirmation when committing after message generation (default: false)' ,
5561 alias : 'y' ,
5662 default : false ,
5763 } ,
5864 clipboard : {
5965 type : Boolean ,
60- description : 'Copy the selected message to the clipboard instead of committing (default: false)' ,
66+ description :
67+ 'Copy the selected message to the clipboard instead of committing (default: false)' ,
6168 alias : 'c' ,
6269 default : false ,
6370 } ,
You can’t perform that action at this time.
0 commit comments