Added api-triggered release ci
continuous-integration/drone Build is failing Details

ref #1
This commit is contained in:
Nicolai Ort 2021-04-07 18:16:50 +02:00
parent 72c46fdbb6
commit 582ab67098
1 changed files with 32 additions and 3 deletions

View File

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