Upd: Create changelog before packing the chart

This is an initial preparation for incorporating the changelong
into the published chart.
This commit is contained in:
Bojan Čekrlić 2021-03-21 13:33:54 +01:00
parent 5209c84c59
commit 367099b781

View file

@ -39,6 +39,13 @@ jobs:
id: readme_and_licence
shell: bash
run: cp README.md LICENSE helm/mail/
- name: Changelog
uses: Bullrich/generate-release-changelog@master
id: Changelog
env:
REPO: ${{ github.repository }}
# TODO: Include the changelog in Chart.yml as annotations.artifacthub.io/changes
# See more here: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
- name: Package helm chart
uses: WyriHaximus/github-action-helm3@v2
with:
@ -53,11 +60,6 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./gh-pages
tag_name: gh-pages-${{ steps.version_number.outputs.RELEASE_VERSION }}
- name: Changelog
uses: Bullrich/generate-release-changelog@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@v1