ci-release makefile target

This commit is contained in:
Tony Garnock-Jones 2024-06-04 21:13:51 +02:00
parent 617f58b527
commit 3809e92a16

View file

@ -41,3 +41,11 @@ ws-bump:
ws-publish:
cargo workspaces publish \
--from-git
ci-release: x86_64-binary-release aarch64-binary-release armv7-binary-release
rm -rf target/dist
for arch in x86_64 aarch64 armv7; do \
mkdir -p target/dist/$$arch; \
cp -a target/target.$$arch/$$arch-unknown-linux-musl*/release/preserves-schema-rs target/dist/$$arch; \
cp -a target/target.$$arch/$$arch-unknown-linux-musl*/release/preserves-tool target/dist/$$arch; \
done