Skip to content

Commit

Permalink
Add more env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lucetre committed Oct 9, 2023
1 parent c348f0e commit c568b08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release-notes-after-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
template: ${{ env.RELEASE_NOTES_FILE }}
output_file: ${{ env.RELEASE_NOTES_FILE }}
env:
RELEASE_SUMMARY: |
Please fill out the summary notes for this release **`${{ steps.set-version.outputs.curr-release-tag }}`**.
PREV_RELEASE_TAG: ${{ steps.set-version.outputs.prev-release-tag }}
CURR_RELEASE_TAG: ${{ steps.set-version.outputs.curr-release-tag }}
CURR_RELEASE_TITLE: ${{ steps.set-version.outputs.curr-release-title }}

- name: Get commit history
run: |
Expand All @@ -76,7 +77,6 @@ jobs:
# Print the values as a Markdown table row
echo "| @$author_login | $commit_date | $commit_message |" >> ${{ env.RELEASE_NOTES_FILE }}
done
cat ${{ env.RELEASE_NOTES_FILE }}
env:
GH_TOKEN: ${{ github.token }}
BASEHEAD: ${{ steps.set-version.outputs.prev-release-tag }}...${{ github.sha }}
Expand Down
3 changes: 2 additions & 1 deletion RELEASELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### Release Summary
{{ env.get('RELEASE_SUMMARY') }}
Kindly provide the summary notes for the current release, identified as **`{{ env.get('CURR_RELEASE_TITLE') }}`**.

### Commit History
Here is the list of commits from the previous tag (**`{{ env.get('PREV_RELEASE_TAG') }}`**.) to the current tag (**`{{ env.get('CURR_RELEASE_TAG') }}`**.). You can also access the full changelog, including detailed file changes, by clicking the link below the table.

0 comments on commit c568b08

Please sign in to comment.