Skip to content

Commit

Permalink
Merge pull request #319 from zoetrope/chart-release-note
Browse files Browse the repository at this point in the history
Add website-operator version to chart release notes
  • Loading branch information
zoetrope authored Jan 17, 2023
2 parents 0140f67 + bcc9d67 commit 0e43280
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ jobs:
sed --in-place "s/app-version-placeholder/$tag_version/g" charts/website-operator/Chart.yaml
sed --in-place "s/0-chart-patch-version-placeholder/$new_patch_version/g" charts/website-operator/Chart.yaml
sed --in-place "s/app-version-placeholder/$tag_version/g" charts/website-operator/values.yaml
- name: Create release notes
run: |
tag_version=${GITHUB_REF##*/}
cat <<EOF > ./chart-release-notes.md
Helm chart for Website Operator [$tag_version](https://github.com/zoetrope/website-operator/releases/tag/$tag_version)
EOF
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
Expand Down
3 changes: 2 additions & 1 deletion charts/website-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apiVersion: v2
name: website-operator
description: A Helm chart for Website Operator
description: Helm chart for Website Operator
home: https://github.com/zoetrope/website-operator
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand Down
1 change: 1 addition & 0 deletions cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ owner: zoetrope
git-repo: website-operator
release-name-template: "{{ .Name }}-chart-{{ .Version }}"
make-release-latest: false
release-notes-file: chart-release-notes.md

0 comments on commit 0e43280

Please sign in to comment.