Update upload script again

This commit is contained in:
mittorn 2016-11-25 11:26:49 +00:00
parent b58214bc26
commit de21d49463
2 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit 6ec21604ec6fbbef380615933c7669c3b01d6054
Subproject commit 472f483e21b042a3fa04f2e559acf7c71c0c0325

View file

@ -15,6 +15,13 @@ COMMITHASH=$(git rev-parse --short HEAD)
PREFIX=$DAYSSINCERELEASE-$(date +"%H-%M")
POSTFIX=$COMMITHASH
YADISKPATH=`date +%Y/%m/%d`
curl -u $YADISK_USERNAME:$YADISK_PASSWORD -X MKCOL https://webdav.yandex.ru/XashTestVersions/`date +%Y`
curl -u $YADISK_USERNAME:$YADISK_PASSWORD -X MKCOL https://webdav.yandex.ru/XashTestVersions/`date +%Y/%m`/
curl -u $YADISK_USERNAME:$YADISK_PASSWORD -X MKCOL https://webdav.yandex.ru/XashTestVersions/`date +%Y/%m/%d`/
while [ "$1" != "" ]; do
FNAME=$1
FILE_BASE=${FNAME%.*}