scanclient-electron/.woodpecker/prepare.yml

38 lines
1.1 KiB
YAML

steps:
- name: bump package version
image: registry.odit.services/hub/library/node:19.9.0-alpine3.16
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: odit-git-bot-sshkey
- name: tag
image: alpine/git
commands:
- git tag ${SOURCE_TAG} -a -m "Release ${SOURCE_TAG}"
environment:
SOURCE_TAG: "${SOURCE_TAG}"
- name: push to repo
image: appleboy/drone-git-push
settings:
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:
from_secret: odit-git-bot-sshkey
when:
event:
- manual