From f631daafeb41846cba3e0efd2433c28d8e454b4c Mon Sep 17 00:00:00 2001 From: Mulia Nasution Date: Thu, 18 Apr 2024 13:55:56 +0700 Subject: [PATCH] feat: add SHA256SUMS file --- .github/workflows/release.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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