Compare commits
	
		
			5 Commits
		
	
	
		
			a18c5d5598
			...
			0.1.6
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6d5813baa9 | |||
| 165e36a166 | |||
| d6b4a1776c | |||
| bee8c9df96 | |||
| 8189fd9c0e | 
							
								
								
									
										19
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -31,6 +31,7 @@ steps:
 | 
				
			|||||||
    depends_on: ["run electron packager"]
 | 
					    depends_on: ["run electron packager"]
 | 
				
			||||||
    image: plugins/gitea-release
 | 
					    image: plugins/gitea-release
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
 | 
					      title: Release ${DRONE_TAG}
 | 
				
			||||||
      api_key:
 | 
					      api_key:
 | 
				
			||||||
        from_secret: gitea_token
 | 
					        from_secret: gitea_token
 | 
				
			||||||
      base_url: https://git.odit.services
 | 
					      base_url: https://git.odit.services
 | 
				
			||||||
@@ -56,11 +57,21 @@ 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
 | 
				
			||||||
 | 
					      branch: main
 | 
				
			||||||
 | 
					      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
 | 
				
			||||||
@@ -68,6 +79,7 @@ steps:
 | 
				
			|||||||
      commit: false
 | 
					      commit: false
 | 
				
			||||||
      author_email: bot@odit.services
 | 
					      author_email: bot@odit.services
 | 
				
			||||||
      followtags: true
 | 
					      followtags: true
 | 
				
			||||||
 | 
					      branch: main
 | 
				
			||||||
      remote: git@git.odit.services:lfk/scanclient-electron.git
 | 
					      remote: git@git.odit.services:lfk/scanclient-electron.git
 | 
				
			||||||
      skip_verify: true
 | 
					      skip_verify: true
 | 
				
			||||||
      ssh_key:
 | 
					      ssh_key:
 | 
				
			||||||
@@ -76,5 +88,6 @@ trigger:
 | 
				
			|||||||
  event:
 | 
					  event:
 | 
				
			||||||
    exclude:
 | 
					    exclude:
 | 
				
			||||||
    - push
 | 
					    - push
 | 
				
			||||||
 | 
					    - tag
 | 
				
			||||||
  include:
 | 
					  include:
 | 
				
			||||||
    - custom
 | 
					    - custom
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"name": "@lfk/scanclient-electron",
 | 
						"name": "@lfk/scanclient-electron",
 | 
				
			||||||
	"version": "0.0.5",
 | 
						"version": "0.1.6",
 | 
				
			||||||
	"description": "minimal electron application",
 | 
						"description": "minimal electron application",
 | 
				
			||||||
	"main": "main.js",
 | 
						"main": "main.js",
 | 
				
			||||||
	"scripts": {
 | 
						"scripts": {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user