mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
fix: create checksums
This commit is contained in:
parent
4dfd88bf9e
commit
03ad84127e
1 changed files with 11 additions and 1 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -199,9 +199,19 @@ jobs:
|
|||
with:
|
||||
merge-multiple: true
|
||||
|
||||
- name: Generate checksums
|
||||
run: |
|
||||
# Generate SHA256 checksums for all archives
|
||||
sha256sum *.zip *.tar.gz > croc_${{ github.event.release.name }}_checksums.txt
|
||||
|
||||
# Display the checksums file for verification
|
||||
echo "Generated checksums:"
|
||||
cat croc_${{ github.event.release.name }}_checksums.txt
|
||||
|
||||
- name: Upload release assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.tar.gz
|
||||
*_checksums.txt
|
Loading…
Add table
Add a link
Reference in a new issue