Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9d41c2d53d | 
							
								
								
									
										19
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -31,7 +31,6 @@ steps:
 | 
			
		||||
    depends_on: ["run electron packager"]
 | 
			
		||||
    image: plugins/gitea-release
 | 
			
		||||
    settings:
 | 
			
		||||
      title: Release ${DRONE_TAG}
 | 
			
		||||
      api_key:
 | 
			
		||||
        from_secret: gitea_token
 | 
			
		||||
      base_url: https://git.odit.services
 | 
			
		||||
@@ -57,21 +56,11 @@ steps:
 | 
			
		||||
    image: node:alpine
 | 
			
		||||
    commands:
 | 
			
		||||
      - npm --no-git-tag-version version ${SOURCE_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
 | 
			
		||||
      branch: main
 | 
			
		||||
      remote: git@git.odit.services:lfk/scanclient-electron.git
 | 
			
		||||
      skip_verify: true
 | 
			
		||||
      ssh_key:
 | 
			
		||||
        from_secret: git_ssh
 | 
			
		||||
  - name: tag
 | 
			
		||||
  - name: commit & tag
 | 
			
		||||
    image: alpine/git
 | 
			
		||||
    commands:
 | 
			
		||||
      - git add .
 | 
			
		||||
      - git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]"
 | 
			
		||||
      - git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
 | 
			
		||||
  - name: push to repo
 | 
			
		||||
    image: appleboy/drone-git-push
 | 
			
		||||
@@ -79,7 +68,6 @@ steps:
 | 
			
		||||
      commit: false
 | 
			
		||||
      author_email: bot@odit.services
 | 
			
		||||
      followtags: true
 | 
			
		||||
      branch: main
 | 
			
		||||
      remote: git@git.odit.services:lfk/scanclient-electron.git
 | 
			
		||||
      skip_verify: true
 | 
			
		||||
      ssh_key:
 | 
			
		||||
@@ -88,6 +76,5 @@ trigger:
 | 
			
		||||
  event:
 | 
			
		||||
    exclude:
 | 
			
		||||
    - push
 | 
			
		||||
    - tag
 | 
			
		||||
  include:
 | 
			
		||||
    - custom
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
	"name": "@lfk/scanclient-electron",
 | 
			
		||||
	"version": "0.1.6",
 | 
			
		||||
	"version": "0.0.6",
 | 
			
		||||
	"description": "minimal electron application",
 | 
			
		||||
	"main": "main.js",
 | 
			
		||||
	"scripts": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user