Skip to content

Commit 2167290

Browse files
committed
build(ng-dev/release): ignore version bumps when checking for ng-dev changes
1 parent 4b8f9c2 commit 2167290

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/publish_to_github.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ echo "Git configuration has been updated to match the last commit author. Publis
7676

7777
git add -A
7878

79-
if git diff-index --quiet HEAD --; then
80-
echo "Skipping push as no changes occured between this push and the previous commit."
79+
if git diff-index --quiet -I"0\.0\.0-[a-f0-9]+" HEAD --; then
80+
echo "Skipping push as no changes occurred between this push and the previous commit (ignoring version bumps)."
8181
else
8282
git commit -m "${buildCommitMessage}"
8383
git push ${authenticatedRepoUrl} ${branchName} --force

0 commit comments

Comments
 (0)