Skip to content

Commit

Permalink
ci: generate checksum file on release (#32)
Browse files Browse the repository at this point in the history
Looks alright, I haven't tested though. Let's just merge and do some test release.
  • Loading branch information
Alol16578 authored Oct 13, 2024
1 parent 8b623f6 commit d715739
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
version=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
just build_release_macos $version
- name: Add Checksums
run: |
cd ./dist
for file in kanata-tray*; do shasum -a 256 "$file"; done > sha256sums
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -71,3 +76,4 @@ jobs:
./dist/kanata-tray-linux
./dist/kanata-tray-macos
LICENSE
./dist/sha256sums

0 comments on commit d715739

Please sign in to comment.