Skip to content

Commit bf9810b

Browse files
committed
ci(release-runner): Add step for parsing changelog for release notes.
1 parent d6590b8 commit bf9810b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/build-release-publish.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
build-and-release:
17-
name: Build. Release, and Publish to PyPI
17+
name: Build, Release, and Publish to PyPI
1818
runs-on: ubuntu-latest
1919

2020
steps:
@@ -50,6 +50,13 @@ jobs:
5050
id: publish_pypi
5151
uses: pypa/gh-action-pypi-publish@release/v1
5252

53+
- name: Get Changelog updates
54+
id: changelog_reader
55+
uses: mindsers/[email protected]
56+
with:
57+
validation_depth: 100
58+
version: v${{ env.VERSION }}
59+
5360
- name: Generate changelog
5461
id: changelog
5562
uses: metcalfc/[email protected]
@@ -71,12 +78,15 @@ jobs:
7178
./dist/*.tar.gz
7279
./dist/*.whl
7380
body: |
81+
# Patcher Release Notes
7482
This release has been automatically generated by a GitHub Action.
75-
76-
## Installation Instructions
7783
For detailed installation instructions, please refer to the [Docs](https://patcher.liquidzoo.io) or the [README](https://github.com/liquidz00/Patcher/blob/main/README.md)
7884
79-
## Release notes
85+
## Changelog for this release
86+
This amended changelog is specific to this release. View the [full changelog](https://github.com/liquidz00/Patcher/blob/main/CHANGELOG.md) for all details.
87+
${{ steps.changelog_reader.outputs.changes }}
88+
89+
## Changes
8090
${{ steps.changelog.outputs.changelog }}
8191
8292
### Contributors

0 commit comments

Comments
 (0)