chore: add changelog to release body

This commit is contained in:
Esteban Abaroa
2023-09-18 00:08:27 +00:00
parent 9237c9dc26
commit 8a667c97fb
2 changed files with 41 additions and 5 deletions
+18 -5
View File
@@ -16,6 +16,9 @@ jobs:
steps:
# electron build
- uses: actions/checkout@v2
with:
# needed for git commit history changelog
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 16
@@ -27,12 +30,13 @@ jobs:
- run: ls dist
# publish version release
- run: node scripts/release-body > release-body.txt
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/plebchan*.AppImage,dist/plebchan-html*.zip'
token: ${{ secrets.GITHUB_TOKEN }}
replacesArtifacts: true
body: "Progressive web app mirrors:\n- https://plebchan.eth.limo\n- https://plebchan.eth.link\n- https://cloudflare-ipfs.com/ipns/plebchan.eth (insecure, no subdomain isolation)\n\nCLI client:\n- https://github.com/plebbit/plebbit-cli/releases/latest"
bodyFile: "release-body.txt"
allowUpdates: true
mac:
@@ -42,6 +46,9 @@ jobs:
steps:
# electron build
- uses: actions/checkout@v2
with:
# needed for git commit history changelog
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 16
@@ -53,12 +60,13 @@ jobs:
- run: ls dist
# publish version release
- run: node scripts/release-body > release-body.txt
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/plebchan*.dmg'
token: ${{ secrets.GITHUB_TOKEN }}
replacesArtifacts: true
body: "Progressive web app mirrors:\n- https://plebchan.eth.limo\n- https://plebchan.eth.link\n- https://cloudflare-ipfs.com/ipns/plebchan.eth (insecure, no subdomain isolation)\n\nCLI client:\n- https://github.com/plebbit/plebbit-cli/releases/latest"
bodyFile: "release-body.txt"
allowUpdates: true
windows:
@@ -68,6 +76,9 @@ jobs:
steps:
# electron build
- uses: actions/checkout@v2
with:
# needed for git commit history changelog
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 16
@@ -77,12 +88,13 @@ jobs:
- run: dir dist
# publish version release
- run: node scripts/release-body > release-body.txt
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/plebchan*.exe'
token: ${{ secrets.GITHUB_TOKEN }}
replacesArtifacts: true
body: "Progressive web app mirrors:\n- https://plebchan.eth.limo\n- https://plebchan.eth.link\n- https://cloudflare-ipfs.com/ipns/plebchan.eth (insecure, no subdomain isolation)\n\nCLI client:\n- https://github.com/plebbit/plebbit-cli/releases/latest"
bodyFile: "release-body.txt"
allowUpdates: true
android:
@@ -92,7 +104,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
# needed to use 'git tag' and get all tags
# needed to use 'git tag' and get all tags and for git commit history changelog
fetch-depth: 0
- uses: actions/setup-java@v3
with:
@@ -128,10 +140,11 @@ jobs:
- run: ls dist
# publish version release
- run: node scripts/release-body > release-body.txt
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/plebchan*.apk'
token: ${{ secrets.GITHUB_TOKEN }}
replacesArtifacts: true
body: "Progressive web app mirrors:\n- https://plebchan.eth.limo\n- https://plebchan.eth.link\n- https://cloudflare-ipfs.com/ipns/plebchan.eth (insecure, no subdomain isolation)\n\nCLI client:\n- https://github.com/plebbit/plebbit-cli/releases/latest"
bodyFile: "release-body.txt"
allowUpdates: true