Skip to content

Commit

Permalink
fix: enable release candidates when required
Browse files Browse the repository at this point in the history
Updates the release CI to check if the pushed tag has some text
indicating a release candidate and set properly the flag to publish the
release as final release or a candidate.

Signed-off-by: José Guilherme Vanz <[email protected]>
  • Loading branch information
jvanz committed Jul 21, 2023
1 parent 0ec0e6a commit 6c4add6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ jobs:
release_id: `${RELEASE_ID}`,
draft: false,
tag_name: `${TAG_NAME}`,
name: `${TAG_NAME}`
name: `${TAG_NAME}`,
prerelease: `${{ contains(github.event.workflow_run.head_branch, '-alpha') || contains(github.event.workflow_run.head_branch, '-beta') || contains(github.event.workflow_run.head_branch, '-rc') }}`
});
- name: Trigger chart update
Expand Down

0 comments on commit 6c4add6

Please sign in to comment.