Skip to content

Commit 7aec6d4

Browse files
committed
Fix workflow
1 parent a13beeb commit 7aec6d4

2 files changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/BETA_BODY.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**uBO Lite** (uBOL), an [MV3 API-based](https://developer.chrome.com/docs/extensions/mv3/intro/) content blocker.
2+
3+
- [Synopsis](https://github.com/uBlockOrigin/uBOL-issues#readme)
4+
- [Documentation](https://github.com/uBlockOrigin/uBOL-home/wiki)
5+
6+
## Release notes
7+
8+
- Updated filter lists
9+
10+
# Installation
11+
12+
- Firefox: Click [uBOLite %tag%-beta](https://github.com/uBlockOrigin/uBOL-home/releases/download/%tag%-beta/uBOLite.beta.firefox.signed.xpi)

.github/workflows/create_beta.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,25 +76,12 @@ jobs:
7676
id: create_beta_release
7777
env:
7878
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79-
with:
80-
body: |
81-
**uBO Lite** (uBOL), an [MV3 API-based](https://developer.chrome.com/docs/extensions/mv3/intro/) content blocker.
82-
83-
- [Synopsis](https://github.com/uBlockOrigin/uBOL-issues#readme)
84-
- [Documentation](https://github.com/uBlockOrigin/uBOL-home/wiki)
85-
86-
## Release notes
87-
88-
- Updated filter lists
89-
90-
# Installation
91-
92-
- Firefox: Click [uBOLite ${{ env.TAGNAME }}-beta](https://github.com/uBlockOrigin/uBOL-home/releases/download/${{ env.TAGNAME }}-beta/uBOLite.beta.firefox.signed.xpi)
9379
run: |
80+
sed -e 's/%tag%/${{ env.TAGNAME }}-beta/g' .github/workflows/BETA_BODY.md > beta_body.txt
9481
gh release create ${{ env.TAGNAME }}-beta \
9582
--title "${{ env.TAGNAME }}-beta" \
9683
--prerelease \
97-
--notes ${{ env.INPUT_BODY }}
84+
--notes-file beta_body.txt
9885
gh release upload ${{ github.ref_name }}-beta \
9986
${{ env.UBLOCK_REPO_DIR }}/dist/build/uBOLite.beta.chromium.zip \
10087
${{ env.UBLOCK_REPO_DIR }}/dist/build/uBOLite.beta.edge.zip \

0 commit comments

Comments
 (0)