mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	CI - split git commands
This commit is contained in:
		
							parent
							
								
									130901534a
								
							
						
					
					
						commit
						386c8766a0
					
				
							
								
								
									
										10
									
								
								.github/workflows/version-bump-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/version-bump-publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| name: Manage version | ||||
| name: Release | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
| @ -21,10 +21,10 @@ jobs: | ||||
|           npm install | ||||
|           npm run lint | ||||
|           npm run build | ||||
|       - name: Setup version and git tag | ||||
|       - name: Setup version | ||||
|         if: ${{ github.event.inputs.tag != '' }} | ||||
|         run: | | ||||
|           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 | ||||
|           git push | ||||
|       - name: Add tag | ||||
|         run: git tag -a v${{ github.event.inputs.tag }} -m "v${{ github.event.inputs.tag }}" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic