adjust build scripts for the new server and newer git

This commit is contained in:
Pavol Zibrita 2011-06-09 04:02:29 +02:00
parent dcfcec3153
commit 8901474c67
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ do
## reset all previous changes in working tree
git checkout .
git reset HEAD --hard
git checkout $BRANCH
git checkout -f $BRANCH
git reset $GIT_ORIGIN_NAME/$BRANCH --hard
sed -e "s/\(APP_DESCRIPTION.*=.*\"\).*\(\".*\)/\1$SHORT_DATE $BRANCH\2/g" $VERSION_FILE > ${VERSION_FILE}.bak
mv ${VERSION_FILE}.bak ${VERSION_FILE}

View file

@ -2,8 +2,8 @@
DIRECTORY=$(cd `dirname $0` && pwd)
FTP_SITE=download.osmand.net
FTP_FOLDER=/home/osmand/www/night-builds
FTP_LATEST=/home/osmand/www/latest-night-build
FTP_FOLDER=/var/www-download/night-builds
FTP_LATEST=/var/www-download/latest-night-build
# FTP_USER in local.properties
# FTP_PWD= in local.properties
BUILD_DIR="$DIRECTORY"/builds