Added ci bump and tag
This commit is contained in:
1 file changed
+30
@@ -0,0 +1,30 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: bumd_and_tag
|
||||
steps:
|
||||
- name: bump_patch
|
||||
depends_on: [clone]
|
||||
image: registry.odit.services/hub/library/node:18.1.0-alpine3.15
|
||||
commands:
|
||||
- apk add git
|
||||
- git config --global push.default current
|
||||
- git branch --set-upstream-to=origin/main main
|
||||
- yarn
|
||||
- yarn release:patch
|
||||
- git pull
|
||||
- name: push to repo
|
||||
image: appleboy/drone-git-push
|
||||
depends_on: [bump_patch]
|
||||
settings:
|
||||
commit: false
|
||||
author_email: bot@odit.services
|
||||
followtags: true
|
||||
branch: main
|
||||
remote: git@git.odit.services:ORG/REPO.git
|
||||
skip_verify: true
|
||||
ssh_key:
|
||||
from_secret: git_ssh
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
Reference in new issue
Block a user