From c7d81831a82f7b984a81e64780d26c1bfff10e33 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 3 Jan 2023 17:29:02 +0100 Subject: [PATCH] ci: fix publish --- .woodpecker/release-version.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.woodpecker/release-version.yml b/.woodpecker/release-version.yml index 1117567..c329fd2 100644 --- a/.woodpecker/release-version.yml +++ b/.woodpecker/release-version.yml @@ -4,6 +4,8 @@ depends_on: - lint when: + event: + - tag tag: v* pipeline: @@ -12,7 +14,7 @@ pipeline: pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - - apk add --no-cache curl + - apk add --no-cache git - helm dependency update - rm -rf tmp/ - helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./ @@ -20,6 +22,7 @@ pipeline: - git checkout pages - helm repo index tmp/ --merge index.yaml - mv -f tmp/* . - - git add -A - - 'git commit -m "chore: update charts to ${CI_COMMIT_TAG}"' + - git config user.email "release@forgejo.org" ; git config user.name "Release Team" + - git add . + - git commit -m "update charts to ${CI_COMMIT_TAG}" -a - git push origin pages