Skip to content

Commit 84633c3

Browse files
committed
ci: fix stamping for builds performed in CI
Fixes the stamping for snapshot builds and the artifact deployment job.
1 parent 40f5249 commit 84633c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/bazel/setup-remote-execution.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ elif [[ ! -z "${GITHUB_ENV}" ]]; then
2626
fi
2727

2828
# Update the project Bazel configuration to always use remote execution.
29-
echo "build --config=remote" >> .bazelrc
29+
# Note: We add the remote config flag to the user bazelrc file that is not tracked
30+
# by Git. This is necessary to avoid stamping builds with `.with-local-changes`.
31+
echo "build --config=remote" >> .bazelrc.user

0 commit comments

Comments
 (0)