We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b8f9c2 commit 2167290Copy full SHA for 2167290
1 file changed
tools/publish_to_github.sh
@@ -76,8 +76,8 @@ echo "Git configuration has been updated to match the last commit author. Publis
76
77
git add -A
78
79
-if git diff-index --quiet HEAD --; then
80
- echo "Skipping push as no changes occured between this push and the previous commit."
+if git diff-index --quiet -I"0\.0\.0-[a-f0-9]+" HEAD --; then
+ echo "Skipping push as no changes occurred between this push and the previous commit (ignoring version bumps)."
81
else
82
git commit -m "${buildCommitMessage}"
83
git push ${authenticatedRepoUrl} ${branchName} --force
0 commit comments