File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class PublishReleaseTask extends BaseReleaseTask {
144
144
* through the release staging script.
145
145
*/
146
146
private _verifyLastCommitFromStagingScript ( ) {
147
- if ( ! / c h o r e : ( b u m p v e r s i o n | u p d a t e c h a n g e l o g f o r ) / . test ( this . git . getCommitTitle ( 'HEAD' ) ) ) {
147
+ if ( ! / r e l e a s e : ( b u m p v e r s i o n | u p d a t e c h a n g e l o g f o r ) / . test ( this . git . getCommitTitle ( 'HEAD' ) ) ) {
148
148
console . error ( chalk . red ( ` ✘ The latest commit of the current branch does not seem to be ` +
149
149
` created by the release staging script.` ) ) ;
150
150
console . error ( chalk . red ( ` Please stage the release using the staging script.` ) ) ;
Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ class StageReleaseTask extends BaseReleaseTask {
136
136
// Note: When updating the commit messages here. Please also update the
137
137
// release publish script to detect the new commit messages.
138
138
if ( needsVersionBump ) {
139
- this . git . createNewCommit ( `chore : bump version to ${ newVersionName } w/ changelog` ) ;
139
+ this . git . createNewCommit ( `release : bump version to ${ newVersionName } w/ changelog` ) ;
140
140
} else {
141
- this . git . createNewCommit ( `chore : update changelog for ${ newVersionName } ` ) ;
141
+ this . git . createNewCommit ( `release : update changelog for ${ newVersionName } ` ) ;
142
142
}
143
143
144
144
console . info ( ) ;
You can’t perform that action at this time.
0 commit comments