Skip to content

Commit

Permalink
Merge pull request #324 from dennisameling/mingit-arm64
Browse files Browse the repository at this point in the history
mingit: add arm64 artifact option
  • Loading branch information
dscho authored Feb 4, 2021
2 parents 3e9f5d8 + 5f1c1b6 commit 77a784e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mingit/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ while case "$1" in
--include-pdbs)
include_pdbs=t
;;
--include-arm64-artifacts=*)
arm64_artifacts_directory="${1#*=}"
;;
-*) die "Unknown option: %s\n" "$1";;
*) break;;
esac; do shift; done
Expand Down Expand Up @@ -103,6 +106,15 @@ $(cat "/$original_etc_gitconfig")
EOF
die "Could not generate system config"

# ARM64 Windows handling
if test -n "$arm64_artifacts_directory"
then
echo "Including ARM64 artifacts from $arm64_artifacts_directory";
TARGET="$output_directory"/MinGit-"$VERSION"-arm64.zip
mkdir -p "$SCRIPT_PATH/root/arm64"
cp -ar $arm64_artifacts_directory/* "$SCRIPT_PATH/root/arm64"
fi

# Make the archive

type 7za ||
Expand Down

0 comments on commit 77a784e

Please sign in to comment.