Skip to content

Commit

Permalink
include checksums in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Feb 11, 2024
1 parent 9c82eab commit 6d30945
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ jobs:
uses: actions/download-artifact@v3
with:
path: bin
- name: Generate Checksum
run: |
ARTIFACTS="bin"
find "$ARTIFACTS" -type f -exec sha256sum '{}' + | sed 's, .*/, ,' > SHA256SUMS.txt
- name: Create pre-release
uses: softprops/action-gh-release@v1
with:
files: bin/*/xmodits-*
files: |
bin/*/xmodits-*
SHA256SUMS.txt
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6d30945

Please sign in to comment.