Skip to content

Commit

Permalink
fix(build): shasum on the tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickard Natt och Dag committed Nov 19, 2020
1 parent eaed74c commit 744086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
cp "target/$TARGET/release/supreme" "$NAME/"
cp README.md "$NAME/"
tar -czvf "$NAME.tar.gz" "$NAME"
SHA=$(shasum -a 256 "$NAME" | cut -d " " -f 1)
SHA=$(shasum -a 256 "$NAME.tar.gz" | cut -d " " -f 1)
echo "::set-output name=sha::$SHA"
- name: Upload binaries to GitHub releases
Expand Down

0 comments on commit 744086f

Please sign in to comment.