diff --git a/scripts/build.sh b/scripts/build.sh index 250a7c65..ee0f39d2 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -15,7 +15,10 @@ mv "target/$1/release" target/release # Package deb if [[ "$ARTIFACT_NAME" == *-linux-* ]] && { [[ "$ARTIFACT_NAME" == *-aarch64-* ]] || [[ "$ARTIFACT_NAME" == *-x86_64-* ]]; }; then cargo install cargo-deb - cargo deb -p yazi-packing --no-build -o "$ARTIFACT_NAME.deb" + # For .deb packaging, restore the target-specific path that cargo-deb expects + mkdir -p "target/$1" + cp -r "target/release" "target/$1/" + cargo deb -p yazi-packing --no-build --target "$1" -o "$ARTIFACT_NAME.deb" fi # Create the artifact diff --git a/yazi-aarch64-test.deb b/yazi-aarch64-test.deb new file mode 100644 index 00000000..d69f9d47 Binary files /dev/null and b/yazi-aarch64-test.deb differ diff --git a/yazi-x86_64-unknown-linux-gnu.deb b/yazi-x86_64-unknown-linux-gnu.deb new file mode 100644 index 00000000..eeb4e647 Binary files /dev/null and b/yazi-x86_64-unknown-linux-gnu.deb differ diff --git a/yazi-x86_64-unknown-linux-gnu.zip b/yazi-x86_64-unknown-linux-gnu.zip new file mode 100644 index 00000000..a0bf6761 Binary files /dev/null and b/yazi-x86_64-unknown-linux-gnu.zip differ