Skip to content

Commit

Permalink
build: generate sha256 on release
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaser committed Aug 1, 2024
1 parent 7d27a1d commit 62bf40d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ jobs:
- uses: actions/checkout@v3

- run: |
mkdir release
cd src
tar --owner=0 --group=0 -cJf ../unraid-tailscale-utils-${{ github.event.release.name}}-noarch-1.txz *
tar --owner=0 --group=0 -cJf ../release/unraid-tailscale-utils-${{ github.event.release.name}}-noarch-1.txz *
cd ../release
sha256sum unraid-tailscale-utils-${{ github.event.release.name}}-noarch-1.txz | awk '{print $1}' > unraid-tailscale-utils-${{ github.event.release.name}}-noarch-1.txz.sha256
- uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: unraid-tailscale-utils-${{ github.event.release.name}}-noarch-1.txz
asset_path: release/*

0 comments on commit 62bf40d

Please sign in to comment.