Rename "latest" to "latest.info" for the sake of the nightly information file, so "latest" can be a fake symbolic link to the latest file.
authorZachary West <zacw@adiumx.com>
Sat, 25 Apr 2009 17:58:27 -0400
changeset 1976 5d4e03677729
parent 1975 309533fb315c
child 1977 9e66c90939ee
Rename "latest" to "latest.info" for the sake of the nightly information file, so "latest" can be a fake symbolic link to the latest file.
Release/Makefile
Release/upload-nightly.sh
--- a/Release/Makefile	Sat Apr 25 16:44:14 2009 -0400
+++ b/Release/Makefile	Sat Apr 25 17:58:27 2009 -0400
@@ -192,14 +192,14 @@
 
 #This is what nightly builds use. Does not update because buildbot does.
 nightly: version clean compile createfolder prepare-release-bundle tarballapp
-	echo $(RELEASE_NAME) > $(BUILD_DIR)/latest
-	echo $(REVISION) >> $(BUILD_DIR)/latest
-	md5 -q $(BUILD_DIR)/$(RELEASE_NAME).tgz >> $(BUILD_DIR)/latest
+	echo $(RELEASE_NAME) > $(BUILD_DIR)/latest.info
+	echo $(REVISION) >> $(BUILD_DIR)/latest.info
+	md5 -q $(BUILD_DIR)/$(RELEASE_NAME).tgz >> $(BUILD_DIR)/latest.info
 	md5 -q $(BUILD_DIR)/$(RELEASE_NAME).tgz >> $(BUILD_DIR)/$(RELEASE_NAME).tgz.md5
-	ls -l $(BUILD_DIR)/$(RELEASE_NAME).tgz | awk '{print $$5}' >>$(BUILD_DIR)/latest
-	echo $(VERSION) >> $(BUILD_DIR)/latest
+	ls -l $(BUILD_DIR)/$(RELEASE_NAME).tgz | awk '{print $$5}' >>$(BUILD_DIR)/latest.info
+	echo $(VERSION) >> $(BUILD_DIR)/latest.info
 ifeq ($(OFFICIAL_BUILD),TRUE)
-	ruby sign_update.rb $(BUILD_DIR)/$(RELEASE_NAME).tgz ~/adium-dsa-sign/dsa_priv.pem >> $(BUILD_DIR)/latest
+	ruby sign_update.rb $(BUILD_DIR)/$(RELEASE_NAME).tgz ~/adium-dsa-sign/dsa_priv.pem >> $(BUILD_DIR)/latest.info
 endif
 
 tarballapp:
--- a/Release/upload-nightly.sh	Sat Apr 25 16:44:14 2009 -0400
+++ b/Release/upload-nightly.sh	Sat Apr 25 17:58:27 2009 -0400
@@ -8,7 +8,7 @@
 PARENT=$(dirname $0)
 cd ${PARENT:-.}
 
-ADIUM_RELEASE_NAME=`head -n 1 build/latest | tail -n 1`
-scp build/latest build/${ADIUM_RELEASE_NAME}.tgz.md5 build/${ADIUM_RELEASE_NAME}.tgz ${NIGHTLY_USER}@${NIGHTLY_HOST}:
-ssh ${NIGHTLY_USER}@${NIGHTLY_HOST} chmod go+r ${ADIUM_RELEASE_NAME}.tgz latest ${ADIUM_RELEASE_NAME}.tgz.md5
+ADIUM_RELEASE_NAME=`head -n 1 build/latest.info | tail -n 1`
+scp build/latest.info build/${ADIUM_RELEASE_NAME}.tgz.md5 build/${ADIUM_RELEASE_NAME}.tgz ${NIGHTLY_USER}@${NIGHTLY_HOST}:
+ssh ${NIGHTLY_USER}@${NIGHTLY_HOST} chmod go+r ${ADIUM_RELEASE_NAME}.tgz latest.info ${ADIUM_RELEASE_NAME}.tgz.md5