File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ jobs:
102102          TAG_CONTEXT : ' repo' 
103103          WITH_V : true 
104104          PRERELEASE_SUFFIX : " beta" 
105-           PRERELEASE : ${{ (github.ref_name == 'beta') && 'true' || (github.ref_name == 'main') && 'false' || (github.ref_name == 'feat/cli-scanner-tool') && 'false' || 'true' }} 
105+           PRERELEASE : ${{ (github.base_ref || github. ref_name == 'beta') && 'true' || (github.base_ref || github. ref_name == 'main') && 'false' || (github.base_ref ||  github.ref_name == 'feat/cli-scanner-tool') && 'false' || 'true' }} 
106106
107107      - name : Summary 
108108        run : | 
Original file line number Diff line number Diff line change 6565          TAG=v$(grep 'version =' pyproject.toml | sed -e 's/version = "\(.*\)"/\1/') 
6666          echo "TAG=$TAG" >> "$GITHUB_OUTPUT" 
6767
68+        - name : Get branch ref name 
69+         id : branch_ref 
70+         run : | 
71+           BRANCH_NAME=${{ github.base_ref || github.ref_name }} 
72+           echo "$BRANCH_NAME" 
73+           echo "BRANCH_NAME=$BRANCH_NAME" >> "$GITHUB_OUTPUT" 
74+ 
6875       - name : Get tag version 
6976        id : semantic_release 
7077        uses : 
anothrNick/[email protected]   7481          TAG_CONTEXT : ' repo' 
7582          WITH_V : true 
7683          PRERELEASE_SUFFIX : " beta" 
77-           PRERELEASE : ${{ (github.base_ref == 'beta') && 'true' || (github.base_ref == 'main') && 'false' || (github.base_ref == 'integration') && 'false' || 'true' }} 
84+           PRERELEASE : ${{ (github.base_ref || github.ref_name  == 'beta') && 'true' || (github.base_ref || github.ref_name  == 'main') && 'false' || (github.base_ref || github.ref_name  == 'integration') && 'false' || 'true' }} 
7885          DRY_RUN : true 
7986
8087      - name : Compare versions 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments