[banshee] [build] updated DOAP file with release info, upload it in the release script



commit c4b021c9e4d222ae6ff25d35aaf73bf322bd9d30
Author: Aaron Bockover <abockover novell com>
Date:   Sun May 24 15:39:39 2009 -0400

    [build] updated DOAP file with release info, upload it in the release script
---
 banshee.doap        |   34 ++++++++++++++++++++++++++++++++++
 extras/make-release |    8 +++++++-
 2 files changed, 41 insertions(+), 1 deletions(-)

diff --git a/banshee.doap b/banshee.doap
index b6ac14b..0b7689b 100644
--- a/banshee.doap
+++ b/banshee.doap
@@ -4,12 +4,46 @@
          xmlns:gnome="http://api.gnome.org/doap-extensions#";
          xmlns="http://usefulinc.com/ns/doap#";>
 
+  <!-- Project Info -->
+  <shortname>banshee</shortname>
+  <created>2005-02-17</created>
+
   <name xml:lang="en">Banshee Media Player</name>
   <shortdesc xml:lang="en">Play and organize your media collection</shortdesc>
+
   <homepage rdf:resource="http://banshee-project.org/"; />
+  <download-page rdf:resource="http://banshee-project.org/download"; />
   <mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/banshee-list"; />
   <bug-database rdf:resource="http://bugzilla.gnome.org/"; />
+  <license rdf:resource="http://usefulinc.com/doap/licenses/mit"; />
+
+  <!-- Current Releases -->
+  <release>
+    <Version>
+      <name>1.4.4 Stable Release</name>
+      <branc>stable</branch>
+      <created>2009-05-26</created>
+      <revision>1.4.4</revision>
+      <file-release rdf:resource="http://download.banshee-project.org/banshee/stable/1.4.4/banshee-1-1.4.4.tar.bz2"; />
+    </Version>
+    <Version>
+      <name>1.5.0 Unstable Release</name>
+      <branch>unstable</branch>
+      <created>2009-05-26</created>
+      <revision>1.5.0</revision>
+      <file-release rdf:resource="http://download.banshee-project.org/banshee/unstable/1.5.0/banshee-1-1.5.0.tar.bz2"; />
+    </Version>
+  </release>
+
+  <!-- Version Control -->
+  <repository>
+    <GitRepository>
+      <browse rdf:resource="http://git.gnome.org/cgit/banshee"; />
+      <location rdf:resource="git://git.gnome.org/banshee" />
+    </GitRepository>
+  </repository>
 
+  <!-- Maintainers -->
   <maintainer>
     <foaf:Person>
       <foaf:name>Aaron Bockover</foaf:name>
diff --git a/extras/make-release b/extras/make-release
index 25f1b7c..4b64565 100755
--- a/extras/make-release
+++ b/extras/make-release
@@ -5,7 +5,7 @@ function preparing_to () {
 		printf "\rPreparing to %s in %d ... " "$1" $i
 		sleep 1
 	done
-	echo
+	printf "\rRunning %s ...                        \n\n" "$1"
 }
 
 function bail () {
@@ -39,6 +39,7 @@ Release Summary
     User:  ${WEB_USER}
     Host:  ${WEB_HOST}
     Path:  ${WEB_PATH}
+    DOAP:  ${WEB_DOAP_PATH}
 
   git tag: ${TAG_NAME}
 
@@ -107,6 +108,11 @@ function upload_release () {
 		|| bail "Could not create the LATEST-IS-${PACKAGE_VERSION} link"
 	
 	rm -rf release-data
+
+	[[ -z "${WEB_DOAP_PATH}" ]] || {
+		scp *.doap ${WEB_USER} ${WEB_HOST}:${WEB_DOAP_PATH} \
+			|| bail "Could not upload DOAP file"
+	}
 }
 
 function tag_release () {



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