Format release body

This commit is contained in:
Dmitri Bogomolov 2022-01-25 18:42:13 +02:00
parent e6a2bfd412
commit 3817642dd8
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -46,6 +46,8 @@ jobs:
run: | run: |
sha256sum ${{ steps.deb.outputs.asset_path }} >> checksum.txt sha256sum ${{ steps.deb.outputs.asset_path }} >> checksum.txt
sha256sum ${{ steps.appimage.outputs.asset_path }} >> checksum.txt sha256sum ${{ steps.appimage.outputs.asset_path }} >> checksum.txt
cut -d '/' -f 2 checksum.txt >> body.txt
cut -d ' ' -f 1 checksum.txt >> body.txt
- name: Release Continuous - name: Release Continuous
if: ${{ github.ref == 'refs/heads/ci' }} if: ${{ github.ref == 'refs/heads/ci' }}
uses: softprops/action-gh-release@master uses: softprops/action-gh-release@master
@ -53,7 +55,8 @@ jobs:
prerelease: true prerelease: true
tag_name: continuous tag_name: continuous
target_commitish: ${{ github.sha }} target_commitish: ${{ github.sha }}
body_path: checksum.txt body_path: body.txt
append_body: true
files: | files: |
${{ steps.deb.outputs.asset_path }} ${{ steps.deb.outputs.asset_path }}
${{ steps.appimage.outputs.asset_path }} ${{ steps.appimage.outputs.asset_path }}