feat: add changelog to release (#11)

- closes #5

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/11
This commit is contained in:
Michael Kriese 2023-01-04 14:41:12 +00:00
parent e4af9c28af
commit c2199f0640
4 changed files with 2910 additions and 1 deletions

View file

@ -14,11 +14,13 @@ pipeline:
pull: true
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- apk add --no-cache git
- apk add --no-cache git npm
- helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
- rm -rf tmp/
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
- npm ci
- npm run changelog "${CI_COMMIT_TAG##v}" tmp/changelog.md
secrets:
- token
@ -32,6 +34,7 @@ pipeline:
files: tmp/*
title: ${CI_COMMIT_TAG##v}
file_exists: fail
note: tmp/changelog.md
publish-chart:
image: alpine:3.17.0