Jason Crist 3 anni fa
parent
commit
0fa0fe59e8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      theme-utils.mjs

+ 2 - 2
theme-utils.mjs

@@ -346,7 +346,7 @@ async function versionBumpThemes() {
 		await executeCommand(`npm version patch --no-git-tag-version`);
 		await executeCommand(`npm version patch --no-git-tag-version`);
 	}
 	}
 
 
-	if (versionBumpCount > 0 || rootHasVersionBump) {
+	if (versionBumpCount > 0 || !rootHasVersionBump) {
 		console.log('commiting version-bump');
 		console.log('commiting version-bump');
 		await executeCommand(`
 		await executeCommand(`
 			git commit -a -m "Version Bump";
 			git commit -a -m "Version Bump";
@@ -635,7 +635,7 @@ async function createGitPhabricatorDiff(hash) {
 		git branch -D deploy
 		git branch -D deploy
 		git checkout -b deploy
 		git checkout -b deploy
 		git add --all
 		git add --all
-		git commit -m "${commitMessage}" --no-verify
+		git commit -m "${commitMessage}"
 		arc diff --create --verbatim
 		arc diff --create --verbatim
 	`, true);
 	`, true);