Skip to content

Commit

Permalink
chore: align musl name path with pact ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Feb 8, 2024
1 parent 0097b6d commit 10156c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ case "$1" in

cargo clean
cross build --release --target=x86_64-unknown-linux-musl
gzip -c target/x86_64-unknown-linux-musl/release/pact-protobuf-plugin > release_artifacts/pact-protobuf-plugin-linux-musl-x86_64.gz
openssl dgst -sha256 -r release_artifacts/pact-protobuf-plugin-linux-musl-x86_64.gz > release_artifacts/pact-protobuf-plugin-linux-musl-x86_64.gz.sha256
gzip -c target/x86_64-unknown-linux-musl/release/pact-protobuf-plugin > release_artifacts/pact-protobuf-plugin-linux-x86_64-musl.gz
openssl dgst -sha256 -r release_artifacts/pact-protobuf-plugin-linux-x86_64-musl.gz > release_artifacts/pact-protobuf-plugin-linux-x86_64-musl.gz.sha256

echo -- Build the musl aarch64 release artifacts --
cargo clean
cross build --release --target=aarch64-unknown-linux-musl
gzip -c target/aarch64-unknown-linux-musl/release/pact-protobuf-plugin > release_artifacts/pact-protobuf-plugin-linux-musl-aarch64.gz
openssl dgst -sha256 -r release_artifacts/pact-protobuf-plugin-linux-musl-aarch64.gz > release_artifacts/pact-protobuf-plugin-linux-musl-aarch64.gz.sha256
gzip -c target/aarch64-unknown-linux-musl/release/pact-protobuf-plugin > release_artifacts/pact-protobuf-plugin-linux-aarch64-musl.gz
openssl dgst -sha256 -r release_artifacts/pact-protobuf-plugin-linux-aarch64-musl.gz > release_artifacts/pact-protobuf-plugin-linux-aarch64-musl.gz.sha256

;;
Windows) echo "Building for Windows"
Expand Down

0 comments on commit 10156c1

Please sign in to comment.