adium 4079:cdcd82d632ad: Create ${NIGHTLY_REPO}-${NIGHTLY_BRANCH...

commits at adium.im commits at adium.im
Wed Jul 27 13:50:12 UTC 2011


details:	http://hg.adium.im/adium/rev/cdcd82d632ad
revision:	4079:cdcd82d632ad
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Wed Jul 27 16:48:58 2011 +0300

Create ${NIGHTLY_REPO}-${NIGHTLY_BRANCH} directory, if it doesn't exist

diffs (14 lines):

diff -r ef1b7274dce5 -r cdcd82d632ad Release/upload-nightly.sh
--- a/Release/upload-nightly.sh	Wed Jul 27 13:38:52 2011 +0300
+++ b/Release/upload-nightly.sh	Wed Jul 27 16:48:58 2011 +0300
@@ -9,6 +9,9 @@
 cd ${PARENT:-.}
 
 ADIUM_RELEASE_NAME=`head -n 1 build/latest.info | tail -n 1`
+
+# Create ${NIGHTLY_REPO}-${NIGHTLY_BRANCH} directory, if it doesn't exist
+ssh ${NIGHTLY_USER}@${NIGHTLY_HOST} "ls -d ${NIGHTLY_REPO}-${NIGHTLY_BRANCH} || mkdir ${NIGHTLY_REPO}-${NIGHTLY_BRANCH} && chmod go+r ${NIGHTLY_REPO}-${NIGHTLY_BRANCH}"
+
 scp build/latest.info build/${ADIUM_RELEASE_NAME}.dmg.md5 build/${ADIUM_RELEASE_NAME}.dmg ${NIGHTLY_USER}@${NIGHTLY_HOST}:${NIGHTLY_REPO}-${NIGHTLY_BRANCH}
 ssh ${NIGHTLY_USER}@${NIGHTLY_HOST} chmod go+r ${ADIUM_RELEASE_NAME}.dmg latest.info ${ADIUM_RELEASE_NAME}.dmg.md5
-




More information about the commits mailing list