Update upload script again
This commit is contained in:
parent
b58214bc26
commit
de21d49463
2 changed files with 8 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 6ec21604ec6fbbef380615933c7669c3b01d6054
|
Subproject commit 472f483e21b042a3fa04f2e559acf7c71c0c0325
|
|
@ -15,6 +15,13 @@ COMMITHASH=$(git rev-parse --short HEAD)
|
||||||
PREFIX=$DAYSSINCERELEASE-$(date +"%H-%M")
|
PREFIX=$DAYSSINCERELEASE-$(date +"%H-%M")
|
||||||
POSTFIX=$COMMITHASH
|
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
|
while [ "$1" != "" ]; do
|
||||||
FNAME=$1
|
FNAME=$1
|
||||||
FILE_BASE=${FNAME%.*}
|
FILE_BASE=${FNAME%.*}
|
||||||
|
|
Loading…
Add table
Reference in a new issue