diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b59c6c5..3d88d6b5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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"-setup.exe >> 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