Skip to content

Commit

Permalink
Fix shasum command call on intel arch
Browse files Browse the repository at this point in the history
  • Loading branch information
seankim658 committed Dec 17, 2024
1 parent 9996618 commit 43e5e84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
cd target/${{ matrix.platform.target }}/release
if [[ "${{ matrix.platform.os }}" == "windows-latest" ]]; then
powershell -Command "(Get-FileHash rere-${{ matrix.platform.release_for }}.exe -Algorithm SHA256).Hash.ToLower() + ' rere-${{ matrix.platform.release_for }}.exe'" > rere-${{ matrix.platform.release_for }}.sha256
elif [[ "${{ matrix.platform.os }}" == "macos-12" || "${{ matrix.platform.os }}" == "macos-latest" ]]; then
shasum -a 256 rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256
else
sha256sum rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256
shasum -a 256 rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256
fi
- name: Upload SHA256 checksum
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 43e5e84

Please sign in to comment.