File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11name : Rust Agent Release 
22
33on :
4+   pull_request :
5+     branches :
6+       - pb/rust-release-cargo  #  for testing
47  push :
58    branches :
69      - main 
@@ -329,9 +332,10 @@ jobs:
329332    runs-on : depot-ubuntu-latest 
330333    needs : check-release-status 
331334    if : | 
332-       github.ref == 'refs/heads/main' && 
335+       github.ref != 'refs/remotes/origin/pb/rust-release-cargo' || 
336+       (github.ref == 'refs/heads/main' && 
333337      ((github.event_name == 'workflow_dispatch' && inputs.prerelease) || 
334-        (github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true')) 
338+        (github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true')))  
335339     steps :
336340      - uses : actions/checkout@v4 
337341        with :
@@ -344,8 +348,8 @@ jobs:
344348        working-directory : ./rust/main 
345349        env :
346350          GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
347-           IS_PRERELEASE : ${{ github.event_name == 'workflow_dispatch' && inputs.prerelease }} 
348-           PRERELEASE_SUFFIX : ${{ inputs.prerelease_suffix }} 
351+           IS_PRERELEASE : true 
352+           PRERELEASE_SUFFIX : pbio.rc1 
349353          BASE_VERSION : ${{ needs.check-release-status.outputs.current_version }} 
350354        run : | 
351355          git config user.name "github-actions[bot]" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments