Skip to content

Commit

Permalink
fix: stop overwriting index.yaml in action
Browse files Browse the repository at this point in the history
This PR resolves the issue of the index being overwritten by the helm-releaser-action.

I've also restored the index.yaml manually in this commit to the one generated at the v0.6.8 release.

## Note

The current index.yaml doesn't point to the releases created by the action, but the ones generated using the script (which shouldn't cause any issues as long as the releases and the dist folder are in place).

On the next releases, it should automatically populate the index with the GitHub release URLs. Don't delete the releases generated by the action.
  • Loading branch information
aadhav-argonaut authored Aug 10, 2023
2 parents fc821c4 + 37e3cdc commit b66e740
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/configs/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Reference: https://github.com/helm/chart-releaser
index-path: "./index.yaml"

# Enable automatic generation of release notes using GitHubs release notes generator.
# see: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
generate-release-notes: true
2 changes: 2 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ jobs:
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
config: "./.github/configs/cr.yaml"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit b66e740

Please sign in to comment.