mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-24 07:19:16 +01:00
Uploading the languages to the app store nightlies
This commit is contained in:
parent
f5a4bf3f2f
commit
7ac389a738
23
ftpupload.sh
23
ftpupload.sh
@ -8,7 +8,10 @@ for entry in "$TRAVIS_BUILD_DIR/wiiu/apps/hidtovpad"/*; do
|
|||||||
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/${entry##*/}" > /dev/null 2>&1
|
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/${entry##*/}" > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
IFS=$'\n' # make newlines the only separator
|
IFS=$'\n' # make newlines the only separator
|
||||||
|
|
||||||
|
# controller configs
|
||||||
for f in `curl -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER/sd/wiiu/controller/ --silent --use-ascii --list-only`; do
|
for f in `curl -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER/sd/wiiu/controller/ --silent --use-ascii --list-only`; do
|
||||||
if [ "$f" != "." ] && [ "$f" != ".." ]; then
|
if [ "$f" != "." ] && [ "$f" != ".." ]; then
|
||||||
echo "Deleting sd/wiiu/controller/${f##*/}"
|
echo "Deleting sd/wiiu/controller/${f##*/}"
|
||||||
@ -21,9 +24,27 @@ cd $TRAVIS_BUILD_DIR/wiiu/controller
|
|||||||
for entry in "$TRAVIS_BUILD_DIR/wiiu/controller"/*
|
for entry in "$TRAVIS_BUILD_DIR/wiiu/controller"/*
|
||||||
do
|
do
|
||||||
echo "Uploading ${entry##*/}"
|
echo "Uploading ${entry##*/}"
|
||||||
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/sd/wiiu/controller/${entry##*/}" > /dev/null 2>&1
|
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/sd/wiiu/apps/hidtovpad/languages/${entry##*/}" > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# Language files
|
||||||
|
for f in `curl -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER/sd/wiiu/controller/ --silent --use-ascii --list-only`; do
|
||||||
|
if [ "$f" != "." ] && [ "$f" != ".." ]; then
|
||||||
|
echo "Deleting sd/wiiu/apps/hidtovpad/languages/${f##*/}"
|
||||||
|
curl -v -u $FTP_USER:$FTP_PASSWORD ftp://$FTP_SERVER/ -Q "DELE sd/wiiu/apps/hidtovpad/languages/$f" --silent > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
cd $TRAVIS_BUILD_DIR/languages
|
||||||
|
|
||||||
|
for entry in "$TRAVIS_BUILD_DIR/languages"/*
|
||||||
|
do
|
||||||
|
echo "Uploading ${entry##*/}"
|
||||||
|
curl --ftp-create-dirs -T "${entry##*/}" -u $FTP_USER:$FTP_PASSWORD "$FTP_SERVER/sd/wiiu/apps/hidtovpad/languages/${entry##*/}" > /dev/null 2>&1
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
curl -v -u $FTP_USER:$FTP_PASSWORD ftp://$FTP_SERVER/ -Q "DELE .deletetoupdate" --silent > /dev/null 2>&1
|
curl -v -u $FTP_USER:$FTP_PASSWORD ftp://$FTP_SERVER/ -Q "DELE .deletetoupdate" --silent > /dev/null 2>&1
|
||||||
|
|
||||||
curl $REFRESH
|
curl $REFRESH
|
||||||
|
Loading…
Reference in New Issue
Block a user