File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,20 @@ jobs:
2626 make build
2727 php build/moodle-plugin-ci.phar list
2828
29+ - name : Extract release notes from changelog
30+ id : extract-release-notes
31+ uses :
yashanand1910/[email protected] 32+ with :
33+ changelog_path : docs/CHANGELOG.md
34+ version : ${{ github.ref }}
35+
2936 - name : Create Release
3037 uses : ncipollo/release-action@v1
3138 with :
3239 artifacts : build/moodle-plugin-ci.phar
3340 artifactContentType : application/zip
3441 body : |
35- Take a look at the [CHANGELOG](https://moodlehq.github.io/moodle-plugin-ci/CHANGELOG.html) for details about the release.
42+ ${{ steps.extract-release-notes.outputs.release_notes }}
43+ #
44+ Take a look at the [CHANGELOG](https://moodlehq.github.io/moodle-plugin-ci/CHANGELOG.html) for details about other releases.
3645 Please follow [3.0 Upgrade guide](https://moodlehq.github.io/moodle-plugin-ci/UPGRADE-3.0.html) when upgrading from 2.x.
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
99The format of this change log follows the advice given at [ Keep a CHANGELOG] ( http://keepachangelog.com ) .
1010
1111## [ Unreleased]
12+ ### Added
13+ - Improved release process: Now every version changelog (this file) is automatically added to the release notes.
1214
1315## [ 3.4.8] - 2023-03-06
1416### Changed
You can’t perform that action at this time.
0 commit comments