This commit is contained in:
sxyazi 2024-08-22 23:38:56 +08:00
parent 585e037dba
commit e22ab43664
No known key found for this signature in database

View file

@ -3,6 +3,7 @@ set -euo pipefail
export ARTIFACT_NAME="yazi-$1" export ARTIFACT_NAME="yazi-$1"
export YAZI_GEN_COMPLETIONS=1 export YAZI_GEN_COMPLETIONS=1
export MACOSX_DEPLOYMENT_TARGE="10.9"
# Setup Rust toolchain # Setup Rust toolchain
if [[ "$1" == *-musl ]]; then if [[ "$1" == *-musl ]]; then
@ -12,7 +13,7 @@ else
fi fi
# Build for the target # Build for the target
MACOSX_DEPLOYMENT_TARGE="10.9" cargo build --release --locked --target "$1" cargo build --release --locked --target "$1"
# Create the artifact # Create the artifact
mkdir -p "$ARTIFACT_NAME/completions" mkdir -p "$ARTIFACT_NAME/completions"