Skip to content

Commit

Permalink
Merge pull request #197 from salasberryfin/configure-release-as-draft…
Browse files Browse the repository at this point in the history
…-from-chart-releaser

chore: edit cr command to not set release as latest
  • Loading branch information
richardcase authored Oct 11, 2023
2 parents 57b26c1 + 41edcc8 commit 405cedb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,7 @@ jobs:
mkdir -p .cr-index
- name: Run chart-releaser upload
run: cr upload --skip-existing -c "$(git rev-parse HEAD)" --generate-release-notes --release-name-template "${{ env.TAG }}" --make-release-latest false
run: cr upload --skip-existing -c "$(git rev-parse HEAD)" --generate-release-notes --release-name-template "${{ env.TAG }}" --make-release-latest=false

- name: Run chart-releaser index
run: cr index --push --release-name-template "${{ env.TAG }}"

- name: Set release as draft # `--make-release-latest false` in cr does not seem to work
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh release edit ${{ env.TAG }} --draft

0 comments on commit 405cedb

Please sign in to comment.