mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Fix architecture mismatch in aarch64 .deb packages
Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
This commit is contained in:
parent
e72b2a010d
commit
0892ca1cfb
4 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
BIN
yazi-aarch64-test.deb
Normal file
BIN
yazi-aarch64-test.deb
Normal file
Binary file not shown.
BIN
yazi-x86_64-unknown-linux-gnu.deb
Normal file
BIN
yazi-x86_64-unknown-linux-gnu.deb
Normal file
Binary file not shown.
BIN
yazi-x86_64-unknown-linux-gnu.zip
Normal file
BIN
yazi-x86_64-unknown-linux-gnu.zip
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue