CI - split git commands
This commit is contained in:
		
							parent
							
								
									880f3b6b88
								
							
						
					
					
						commit
						8b977327bb
					
				
							
								
								
									
										5
									
								
								.github/workflows/version-bump-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/version-bump-publish.yml
									
									
									
									
										vendored
									
									
								
							@ -24,6 +24,7 @@ jobs:
 | 
			
		||||
      - name: Setup version and git tag
 | 
			
		||||
        if: ${{ github.event.inputs.tag != '' }}
 | 
			
		||||
        run: |
 | 
			
		||||
          npm version ${{ github.event.inputs.tag }}
 | 
			
		||||
          git push
 | 
			
		||||
          npm version ${{ github.event.inputs.tag }
 | 
			
		||||
          git tag -a v${{ github.event.inputs.tag }} -m "v${{ github.event.inputs.tag }}"
 | 
			
		||||
      - name: Push changes
 | 
			
		||||
        run: git push
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user