File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -50,28 +50,36 @@ jobs:
5050          python backwards-compatibility-data/generate_data.py $release_tag 
5151
5252          # Fetch. 
53+           echo "git fetch" 
5354          git fetch 
5455
5556          # Create a new branch for the changes. 
5657          branch_name="update-backwards-compatibility-data-${release_tag}" 
58+           echo "git checkout -b $branch_name" 
5759          git checkout -b "$branch_name" 
5860
5961          # Stage all changes within backwards-compatibility-data/data/. 
62+           echo "git add backwards-compatibility-data/data/" 
6063          git add backwards-compatibility-data/data/ 
6164
6265          # Commit the staged changes. 
66+           echo "git commit -m '[automated] Update backwards-compatibility-data for release $release_tag'" 
6367          git commit -m "[automated] Update backwards-compatibility-data for release $release_tag" 
6468
6569          # Reset other changes to match main branch - we do this in case the release branch had commits that were not in main. 
66-           git reset --hard main 
70+           echo "git reset --hard origin/main" 
71+           git reset --hard origin/main 
6772
6873          # Re-apply the commit with the backwards-compatibility-data changes. 
74+           echo "git cherry-pick HEAD@{1}" 
6975          git cherry-pick HEAD@{1} 
7076
7177          # Push to the branch. 
78+           echo "git push origin $branch_name" 
7279          git push origin "$branch_name" 
7380
7481          # Create a PR from this new branch to main. 
82+           echo "gh pr create" 
7583          gh pr create --base main --head "$branch_name" --title "[automated] Update backwards-compatibility-data for release $release_tag" --body "This PR contains backwards compatibility indexes generated for release $release_tag." 
7684         env :
7785          GH_TOKEN : ${{ github.token }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments