Skip to content

Commit

Permalink
feat: add SHA256SUMS file
Browse files Browse the repository at this point in the history
  • Loading branch information
mul14 committed Apr 18, 2024
1 parent 9660ccf commit 90073bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,23 @@ jobs:
cd build
if [[ $GOOS == 'darwin' ]]; then
cp raiden raiden-macos-"$GOARCH"
sha256sum -b raiden-macos-"$GOARCH" >> SHA256SUMS
elif [[ $GOOS == 'windows' ]]; then
mv raiden raiden.exe
sudo apt-get install -y nsis
makensis -NOCD -DARCH="$GOARCH" ${GITHUB_WORKSPACE}/scripts/windows.nsi
sha256sum -b raiden-"$GOOS"-"$GOARCH" >> SHA256SUMS
else
cp raiden raiden-"$GOOS"-"$GOARCH"
sha256sum -b raiden-"$GOOS"-"$GOARCH" >> SHA256SUMS
fi
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/raiden-*
files:
build/raiden-*
SHA256SUMS
make_latest: true
generate_release_notes: true

0 comments on commit 90073bf

Please sign in to comment.