Skip to content

Commit 2851ec8

Browse files
committed
Build: Skip validation hook for version messages
1 parent 005e5a5 commit 2851ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function checkGitStatus( next ) {
134134
}
135135

136136
function tagReleaseVersion( next ) {
137-
git( [ "commit", "-a", "-m", "Tagging the " + releaseVersion + " release." ], function(){
137+
git( [ "commit", "-a", "--no-verify", "-m", "Tagging the " + releaseVersion + " release." ], function(){
138138
git( [ "tag", releaseVersion ], next);
139139
});
140140
}
@@ -181,7 +181,7 @@ function publishToNPM( next ) {
181181
function setNextVersion( next ) {
182182
updateSourceVersion( nextVersion );
183183
updatePackageVersion( nextVersion, branch );
184-
git( [ "commit", "-a", "-m", "Updating the source version to " + nextVersion ], next );
184+
git( [ "commit", "-a", "--no-verify", "-m", "Updating the source version to " + nextVersion ], next );
185185
}
186186

187187
function pushToRemote( next ) {

0 commit comments

Comments
 (0)