Skip to content

Commit

Permalink
[CDC Autopush] Fix submod pull no-op case (#4511)
Browse files Browse the repository at this point in the history
Allow an empty commit when pulling in latest submods in case they're
already up-to-date. This should fix current autopush build failures.
  • Loading branch information
hqpho authored Jul 22, 2024
1 parent 6b3808a commit 8b8a8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_custom_dc_and_tag_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set -x
# Configure Git to create commits with Cloud Build's service account
git config user.email $(gcloud auth list --filter=status:ACTIVE --format='value(account)')

git commit -am "DO NOT PUSH: Temp commit to update pinned submod versions"
git commit --allow-empty -am "DO NOT PUSH: Temp commit to update pinned submod versions (empty if submods are already up-to-date)"

website_rev="$(git rev-parse --short HEAD)"
mixer_rev="$(git rev-parse --short HEAD:mixer)"
Expand Down

0 comments on commit 8b8a8ac

Please sign in to comment.