File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ var_11: &yarn_install_loose_lockfile
6767var_12 : &setup_bazel_ci_config 
6868  run :
6969    name : " Setting up Bazel configuration for CI" 
70-     command : | 
71-       echo "import %workspace%/.circleci/bazel.rc" >> ./.bazelrc 
70+     #  Note: We add the remote config flag to the user bazelrc file that is not tracked
71+     #  by Git. This is necessary to avoid stamping builds with `.with-local-changes`.
72+     command : echo "import %workspace%/.circleci/bazel.rc" >> ./.bazelrc.user 
7273
7374#  Attaches the release output which has been stored in the workspace to the current job.
7475#  https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
Original file line number Diff line number Diff line change @@ -26,4 +26,6 @@ elif [[ ! -z "${GITHUB_ENV}" ]]; then
2626fi 
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
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments