Skip to content

Commit

Permalink
make ARM64 logic slightly more efficient
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
  • Loading branch information
dennisameling committed Jan 22, 2021
1 parent 6e5a2e7 commit 78f9c6c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions portable/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ VERSION=$1
shift
TARGET="$output_directory"/PortableGit-"$VERSION"-"$BITNESS"-bit.7z.exe

if test -n "$arm64_artifacts_directory"
then
echo "Including ARM64 artifacts from $arm64_artifacts_directory";
TARGET="$output_directory"/PortableGit-"$VERSION"-arm64.7z.exe
fi

OPTS7="-m0=lzma -mx=9 -md=$MD_ARG -mfb=273 -ms=256M "
TMPPACK=/tmp.7z
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)"
Expand Down Expand Up @@ -147,6 +141,8 @@ die "Could not unpack .pdb files"
# ARM64 Windows handling
if test -n "$arm64_artifacts_directory"
then
echo "Including ARM64 artifacts from $arm64_artifacts_directory";
TARGET="$output_directory"/PortableGit-"$VERSION"-arm64.7z.exe
mkdir -p "$SCRIPT_PATH/root/arm64"
cp -ar $arm64_artifacts_directory/* "$SCRIPT_PATH/root/arm64"
fi
Expand Down

0 comments on commit 78f9c6c

Please sign in to comment.