[banshee] make-release: Upload the doap file to the download server



commit ccb8520b0de2605540f093e244c28c12e1eedd1b
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sat May 14 16:49:57 2011 +0200

    make-release: Upload the doap file to the download server
    
    My previous update to make-release removed that step, but it turns out
    the doap file is used by the Windows auto-update feature.

 extras/make-release |    6 ++++++
 release-rc          |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/extras/make-release b/extras/make-release
index 2f66e01..509c73e 100755
--- a/extras/make-release
+++ b/extras/make-release
@@ -49,6 +49,7 @@ Release Summary
   Release Upload:
     User:  ${WEB_USER}
     Host:  ${WEB_HOST}
+    DOAP:  ${WEB_DOAP_PATH}
 
   git tag: ${TAG_NAME}
 
@@ -110,6 +111,11 @@ function upload_release () {
 	scp -r release-data ${WEB_USER} ${WEB_HOST}: \
 		|| bail "Uploading release failed"
 
+	[[ -z "${WEB_DOAP_PATH}" ]] || {
+		scp *.doap ${WEB_USER} ${WEB_HOST}:${WEB_DOAP_PATH} \
+			|| bail "Could not upload DOAP file"
+	}
+
 #	( ssh ${WEB_USER} ${WEB_HOST} ftpadmin install \
 #		release-data/${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.bz2) \
 #		|| bail "Could not install the tarball"
diff --git a/release-rc b/release-rc
index d80d184..5c1890d 100644
--- a/release-rc
+++ b/release-rc
@@ -2,6 +2,7 @@
 
 WEB_USER=$GNOME_FTP_USER
 WEB_HOST=master.gnome.org
+WEB_DOAP_PATH=/ftp/pub/GNOME/sources/banshee/
 
 #OSX_USER=Build
 #OSX_HOST=164.99.121.141



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]