Skip to content

Commit

Permalink
Include changelog handling
Browse files Browse the repository at this point in the history
  • Loading branch information
philnewm committed Oct 25, 2024
1 parent 38a407e commit 1517f92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
ARTIFACT_NAME: "${{ vars.PROJECT_NAME }}-package"
PROJECT_NAME: "${{ vars.PROJECT_NAME }}"
REQUIRED_VARS: MAIN_BRANCH,MINOR_BUMP_LABEL,PATCH_BUMP_LABEL,PROJECT_NAME
CHANGELOG_ORDER: "${{ vars.CHANGELOG_ORDER || false }}"

jobs:
verify_repo_vars_and_secrets:
Expand Down Expand Up @@ -148,6 +149,7 @@ jobs:
repo: "${{ github.repository }}"
date: "${{ env.release_date }}"
query_parameters: "body,labels,title"
changelog_labels: "${{ env.CHANGELOG_ORDER }}"

- name: Show debug output
run: |
Expand Down Expand Up @@ -373,7 +375,8 @@ jobs:
with:
commit: "${{ vars.MAIN_BRANCH }}"
tag: "${{ env.NEXT_VERSION }}"
body: "${{ env.CHANGELOG }}"
body: "${{ env.CHANGELOG || false }}"
generateReleaseNotes: "${{ !env.CHANGELOG }}"
artifacts: |
${{ needs.build-from-main.outputs.artifact_file }}
token: ${{ env.GH_TOKEN }}
Expand Down

0 comments on commit 1517f92

Please sign in to comment.