ref #1
This commit is contained in:
		
							
								
								
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -57,11 +57,20 @@ steps:
 | 
				
			|||||||
    image: node:alpine
 | 
					    image: node:alpine
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - npm --no-git-tag-version version ${SOURCE_TAG}
 | 
					      - npm --no-git-tag-version version ${SOURCE_TAG}
 | 
				
			||||||
  - name: commit & tag
 | 
					  - name: push new version to repo
 | 
				
			||||||
 | 
					    image: appleboy/drone-git-push
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      commit: true
 | 
				
			||||||
 | 
					      commit_message: 🚀New package version ${SOURCE_TAG} [CI SKIP]
 | 
				
			||||||
 | 
					      author_email: bot@odit.services
 | 
				
			||||||
 | 
					      followtags: false
 | 
				
			||||||
 | 
					      remote: git@git.odit.services:lfk/scanclient-electron.git
 | 
				
			||||||
 | 
					      skip_verify: true
 | 
				
			||||||
 | 
					      ssh_key:
 | 
				
			||||||
 | 
					        from_secret: git_ssh
 | 
				
			||||||
 | 
					  - name: tag
 | 
				
			||||||
    image: alpine/git
 | 
					    image: alpine/git
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - git add .
 | 
					 | 
				
			||||||
      - git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]"
 | 
					 | 
				
			||||||
      - git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
 | 
					      - git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
 | 
				
			||||||
  - name: push to repo
 | 
					  - name: push to repo
 | 
				
			||||||
    image: appleboy/drone-git-push
 | 
					    image: appleboy/drone-git-push
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user