Skip to content

Commit

Permalink
update release body with correct content again
Browse files Browse the repository at this point in the history
  • Loading branch information
brainelectronics committed Oct 12, 2024
1 parent 1d39e73 commit ba8edd0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
--dry-run > latest-entry.json
echo "CHANGELOG_JSON=$(jq -c . < latest-entry.json)" >> $GITHUB_ENV
- name: Update changelog with snippets
id: update_changelog
run: |
poetry run changelog-generator \
changelog changelog.md \
Expand Down Expand Up @@ -83,6 +84,6 @@ jobs:
with:
tag_name: ${{ env.latest_version }}
release_name: ${{ env.latest_version }}
body: ${{ steps.parse_changelog.outputs.LATEST_DESCRIPTION }}
body: ${{ steps.update_changelog.outputs.LATEST_DESCRIPTION }}
draft: false
prerelease: false
3 changes: 2 additions & 1 deletion .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
--dry-run > latest-entry.json
echo "CHANGELOG_JSON=$(jq -c . < latest-entry.json)" >> $GITHUB_ENV
- name: Update changelog with snippets
id: update_changelog
run: |
poetry run changelog-generator \
changelog changelog.md \
Expand Down Expand Up @@ -93,6 +94,6 @@ jobs:
with:
tag_name: ${{ env.latest_version }}-rc${{ github.run_number }}.dev${{ github.event.number }}
release_name: ${{ env.latest_version }}-rc${{ github.run_number }}.dev${{ github.event.number }}
body: ${{ steps.parse_changelog.outputs.LATEST_DESCRIPTION }}
body: ${{ steps.update_changelog.outputs.LATEST_DESCRIPTION }}
draft: false
prerelease: true
8 changes: 8 additions & 0 deletions .snippets/31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Fill release body correctly
<!--
type: bugfix
scope: internal
affected: all
-->

With [1.5.1](https://github.com/brainelectronics/snippets2changelog/tree/1.5.1) the changelog parsing and generation has been splitted up, but the location of the output for the release body has not been moved accordingly.

0 comments on commit ba8edd0

Please sign in to comment.