git-for-windows-msys2: add script for tunasync

This commit is contained in:
ZenithalHourlyRate 2021-09-05 02:17:09 +08:00
parent c9c32b4ee9
commit a68fcb2235
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

14
git-for-windows-msys2.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# Run in Docker image: tunathu/git-for-windows-msys2
set -e
set -o pipefail
_here=`dirname $(realpath $0)`
BASE_PATH="${TUNASYNC_WORKING_DIR}"
mkdir -p $BASE_PATH/x86-64/
mkdir -p $BASE_PATH/i686/
azcopy sync --recursive https://wingit.blob.core.windows.net/x86-64/ $BASE_PATH/x86-64/
azcopy sync --recursive https://wingit.blob.core.windows.net/i686/ $BASE_PATH/i686/
echo "finished"