fix: wrong architecture label in aarch64 .deb packages

This commit is contained in:
sxyazi 2025-09-26 18:44:47 +08:00
parent 51635996e0
commit 73bd940ee2
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ mv "target/$1/release" target/release
# Package deb # Package deb
if [[ "$ARTIFACT_NAME" == *-linux-* ]] && { [[ "$ARTIFACT_NAME" == *-aarch64-* ]] || [[ "$ARTIFACT_NAME" == *-x86_64-* ]]; }; then if [[ "$ARTIFACT_NAME" == *-linux-* ]] && { [[ "$ARTIFACT_NAME" == *-aarch64-* ]] || [[ "$ARTIFACT_NAME" == *-x86_64-* ]]; }; then
cargo install cargo-deb cargo install cargo-deb
cargo deb -p yazi-packing --no-build -o "$ARTIFACT_NAME.deb" cargo deb -p yazi-packing --no-build --target "$1" -o "$ARTIFACT_NAME.deb"
fi fi
# Create the artifact # Create the artifact