11 Commits

Author SHA1 Message Date
03a9810f48 Merge branch 'main' of git.odit.services:lfk/scanclient-electron into main
All checks were successful
continuous-integration/drone Build is passing
# Conflicts:
#	.drone.yml
2021-04-07 18:33:07 +02:00
fed8eb939b Now explicitly pushing tags
ref #1
2021-04-07 18:32:48 +02:00
d04bfe9faf 🚀New package version 0.0.4 [CI SKIP] 2021-04-07 16:30:47 +00:00
6fb5be4809 Now explicitly pushing tags
All checks were successful
continuous-integration/drone Build is passing
ref #1
2021-04-07 18:30:04 +02:00
c629bc673e 🚀New package version 0.0.3 [CI SKIP] 2021-04-07 16:25:50 +00:00
ba56e7ecaf Added sshkey secret
All checks were successful
continuous-integration/drone Build is passing
ref #1
2021-04-07 18:24:58 +02:00
8bec596290 Fixed remote name
Some checks failed
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:23:19 +02:00
c15ecb6fb6 fixed typo
Some checks failed
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:21:24 +02:00
0233961d6f Fixed typos / missing git commands
Some checks failed
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:20:26 +02:00
582ab67098 Added api-triggered release ci
Some checks failed
continuous-integration/drone Build is failing
ref #1
2021-04-07 18:16:50 +02:00
72c46fdbb6 Renamed tag build in ci
ref #1
2021-04-07 18:16:34 +02:00
2 changed files with 50 additions and 5 deletions

View File

@@ -5,10 +5,17 @@ get:
path: odit-git-bot
name: apikey
---
kind: secret
name: git_ssh
get:
path: odit-git-bot
name: sshkey
---
kind: pipeline
type: kubernetes
name: build
name: build:tag
steps:
- name: run electron packager
@@ -35,9 +42,47 @@ steps:
- sha512
- adler32
- crc32
when:
event: tag
trigger:
event:
- tag
---
kind: pipeline
type: kubernetes
name: prepare:tag
steps:
- name: bump package version
image: node:alpine
commands:
- npm --no-git-tag-version version ${SOURCE_TAG}
- name: commit & tag
image: alpine/git
commands:
- git add .
- git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]"
- git tag ${SOURCE_TAG}
- name: push commit to repo
image: appleboy/drone-git-push
settings:
branch: main
commit: false
author_email: bot@odit.services
remote: git@git.odit.services:lfk/scanclient-electron.git
ssh_key:
from_secret: git_ssh
- name: push tag to repo
image: appleboy/drone-git-push
settings:
followtags: true
branch: ${SOURCE_TAG}
remote: git@git.odit.services:lfk/scanclient-electron.git
ssh_key:
from_secret: git_ssh
trigger:
event:
- tag
exclude:
- push
include:
- custom

View File

@@ -1,6 +1,6 @@
{
"name": "@lfk/scanclient-electron",
"version": "0.0.0",
"version": "0.0.3",
"description": "minimal electron application",
"main": "main.js",
"scripts": {