File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44  push :
55    branches : [ master ] 
66    tags :
7-       - ' v[0-9]+.[0-9]+.[0-9]+(-beta)?[0-9]+ ' 
7+       - ' v[0-9]+.[0-9]+.[0-9]+(-beta)?[0-9]* ' 
88  pull_request :
99    branches : [ master ] 
1010
@@ -166,7 +166,7 @@ jobs:
166166        ref : ' master' 
167167    - name : Get the version 
168168      id : get_version 
169-       run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/ } 
169+       run : echo ::set-output name=VERSION::${GITHUB_REF_NAME } 
170170    - name : Get current workspace path 
171171      id : get_workspace 
172172      run : echo ::set-output name=WORKSPACE::${GITHUB_WORKSPACE} 
@@ -225,7 +225,7 @@ jobs:
225225        ref : ' master' 
226226    - name : Get the version 
227227      id : get_version 
228-       run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/ } 
228+       run : echo ::set-output name=VERSION::${GITHUB_REF_NAME } 
229229    - name : set the env 
230230      run : echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV 
231231    - name : Upload and publish draft 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments