Move the repetitive portion of release notes to the bottom

This commit is contained in:
Raymond Hill 2023-11-05 16:42:33 -05:00
parent 4ab1c36ac9
commit 875402b292
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
3 changed files with 5 additions and 6 deletions

View file

@ -32,8 +32,9 @@ jobs:
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Assemble release notes - name: Assemble release notes
run: | run: |
sed -e 's/%version%/${{ steps.release_info.outputs.VERSION }}/' RELEASE.HEAD.md > release.body.txt > release.body.txt
grep -m1 -B10000 "==========" CHANGELOG.md | sed -e '/==========/d' >> release.body.txt grep -m1 -B10000 "----------" CHANGELOG.md >> release.body.txt
sed -e 's/%version%/${{ steps.release_info.outputs.VERSION }}/' RELEASE.HEAD.md >> release.body.txt
- name: Create GitHub release - name: Create GitHub release
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@v1

View file

@ -19,6 +19,6 @@ To benefit the much shorter update period enabled by differential updates, you m
- [Prevent evaluating the SNFE until fully loaded](https://github.com/gorhill/uBlock/commit/89b272775a) - [Prevent evaluating the SNFE until fully loaded](https://github.com/gorhill/uBlock/commit/89b272775a)
- [Add support for differential update of filter lists](https://github.com/gorhill/uBlock/commit/d05ff8ffeb) - [Add support for differential update of filter lists](https://github.com/gorhill/uBlock/commit/d05ff8ffeb)
========== ----------
Older release notes go here. Older release notes go here.

View file

@ -1,3 +1,4 @@
[Commits to master since this release](https://github.com/gorhill/uBlock/compare/%version%...master) [Commits to master since this release](https://github.com/gorhill/uBlock/compare/%version%...master)
To install the developer build: To install the developer build:
@ -7,6 +8,3 @@ To install the developer build:
- **Chromium**: Install from the Chrome Web Store (CWS): <https://chrome.google.com/webstore/detail/ublock-origin-dev-build/cgbcahbpdhpcegmbfconppldiemgcoii>. - **Chromium**: Install from the Chrome Web Store (CWS): <https://chrome.google.com/webstore/detail/ublock-origin-dev-build/cgbcahbpdhpcegmbfconppldiemgcoii>.
- **Thunderbird**: Download [uBlock0_%version%.thunderbird.xpi](https://github.com/gorhill/uBlock/releases/download/%version%/uBlock0_%version%.thunderbird.xpi), then drag-n-drop it into Thunderbird's _Add-ons Manager_ pane (Thunderbird 91+ required) - **Thunderbird**: Download [uBlock0_%version%.thunderbird.xpi](https://github.com/gorhill/uBlock/releases/download/%version%/uBlock0_%version%.thunderbird.xpi), then drag-n-drop it into Thunderbird's _Add-ons Manager_ pane (Thunderbird 91+ required)
- **Node.js**: Import from [npm](https://www.npmjs.com/package/@gorhill/ubo-core), or download and unzip [uBlock0_%version%.npm.tgz](https://github.com/gorhill/uBlock/releases/download/%version%/uBlock0_%version%.npm.tgz). - **Node.js**: Import from [npm](https://www.npmjs.com/package/@gorhill/ubo-core), or download and unzip [uBlock0_%version%.npm.tgz](https://github.com/gorhill/uBlock/releases/download/%version%/uBlock0_%version%.npm.tgz).
---