mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-29 04:56:58 -06:00
package.sh took the arch from uname -m and read binaries from target/release, so a cross-built aarch64 target would be packaged as the host arch from the wrong directory. Pass --target, read target/<triple>/release, and name the archive from the target triple when CARGO_BUILD_TARGET is set. Skip the --version smoke run for cross builds, since the binary cannot run on the host.