Skip to content

Commit

Permalink
Fix linux sha256 files
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jul 11, 2020
1 parent cd1c83c commit 70987d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
tar -czf target/juxr-${{ env.target_triple }}.tar.gz -C target/release juxr
if which sha256sum > /dev/null ; then
sha256sum -b target/juxr-${{ env.target_triple }}.tar.gz | sed -e 's: *target/juxr-${{ env.target_triple }}.tar.gz::' > target/juxr-${{ env.target_triple }}.tar.gz.sha256 ;
sha256sum target/juxr-${{ env.target_triple }}.tar.gz | sed -e 's: *target/juxr-${{ env.target_triple }}.tar.gz::' > target/juxr-${{ env.target_triple }}.tar.gz.sha256 ;
else
shasum -a 256 target/juxr-${{ env.target_triple }}.tar.gz | sed -e 's: *target/juxr-${{ env.target_triple }}.tar.gz::' > target/juxr-${{ env.target_triple }}.tar.gz.sha256 ;
fi
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
docker cp $ID:/home/rust/.cargo/bin/juxr ./target/
docker rm --force $ID
tar -czf target/juxr-x86_64-unknown-linux-musl.tar.gz -C target juxr
sha256sum -b target/juxr-x86_64-unknown-linux-musl.tar.gz | sed -e 's: *target/juxr-x86_64-unknown-linux-musl.tar.gz::' > target/juxr-x86_64-unknown-linux-musl.tar.gz.sha256
sha256sum target/juxr-x86_64-unknown-linux-musl.tar.gz | sed -e 's: *target/juxr-x86_64-unknown-linux-musl.tar.gz::' > target/juxr-x86_64-unknown-linux-musl.tar.gz.sha256
# - name: Docker push
# uses: mr-smithers-excellent/docker-build-push@v2
# with:
Expand Down

0 comments on commit 70987d2

Please sign in to comment.