Added api-triggered release ci
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
ref #1
This commit is contained in:
parent
72c46fdbb6
commit
582ab67098
35
.drone.yml
35
.drone.yml
|
@ -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
|
Loading…
Reference in New Issue