Now explicitly pushing tags

ref #1
This commit is contained in:
Nicolai Ort 2021-04-07 18:30:04 +02:00
parent c629bc673e
commit fed8eb939b
1 changed files with 9 additions and 2 deletions

View File

@ -62,16 +62,23 @@ steps:
- git add . - git add .
- git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]" - git commit -m "🚀New package version ${SOURCE_TAG} [CI SKIP]"
- git tag ${SOURCE_TAG} - git tag ${SOURCE_TAG}
- name: push to repo - name: push commit to repo
image: appleboy/drone-git-push image: appleboy/drone-git-push
settings: settings:
branch: main branch: main
commit: false commit: false
followtags: true
author_email: bot@odit.services author_email: bot@odit.services
remote: git@git.odit.services:lfk/scanclient-electron.git remote: git@git.odit.services:lfk/scanclient-electron.git
ssh_key: ssh_key:
from_secret: git_ssh 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: trigger:
event: event: