Skip to content

Commit

Permalink
chore: fix release script to work with Rust 1.77.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Apr 12, 2024
1 parent e08e861 commit a020a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ mkdir -p target/artifacts

case "$1" in
Linux) echo "Building for Linux"
docker run --rm --user "$(id -u)":"$(id -g)" -v "$(pwd):/workspace" -w /workspace -t pactfoundation/rust-musl-build -c 'cargo build --release'
docker run --rm --user "$(id -u)":"$(id -g)" -v "$(pwd):/workspace" -w /workspace -t \
pactfoundation/rust-musl-build -c 'LIBZ_SYS_STATIC=1 cargo build --release'
gzip -c target/release/pact-protobuf-plugin > target/artifacts/pact-protobuf-plugin-linux-x86_64.gz
openssl dgst -sha256 -r target/artifacts/pact-protobuf-plugin-linux-x86_64.gz > target/artifacts/pact-protobuf-plugin-linux-x86_64.gz.sha256
cp pact-plugin.json target/artifacts
Expand Down

0 comments on commit a020a1b

Please sign in to comment.