working sx-build-release sipb-xen-dev/3
authorSam Hartman <hartmans@mit.edu>
Sun, 15 Jul 2007 20:58:57 +0000 (16:58 -0400)
committerSam Hartman <hartmans@mit.edu>
Sun, 15 Jul 2007 20:58:57 +0000 (16:58 -0400)
svn path=/trunk/packages/sipb-xen-dev/sipb-xen-dev/; revision=16

debian/changelog
sx-build-release

index 952486a..2a6b703 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-dev (3) unstable; urgency=low
+
+  * Working sx-build-release
+  
+
+ -- Sam Hartman <hartmans@debian.org>  Sun, 15 Jul 2007 16:58:46 -0400
+
 sipb-xen-dev (2) unstable; urgency=low
 
   * Add sipb-xen-repository apache config
index 7aeafe3..d86ba37 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh 
+#!/bin/bash
 svnuri=file:///afs/sipb.mit.edu/project/xen/svn
 
 set -e
@@ -16,10 +16,12 @@ package=$1
 svn co $svnuri/$package build-release
 olddir=`pwd`
 cd build-release/`basename $package`
-dpkg-parsechangelog \
-|eval  `perl '-F:\s+' -lane 'print  $F[0]."=".$F[1] if /^Version|^Source|^Distribution/'`
+eval  `perl '-F:\s+' -lane 'print  $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \
+    <(dpkg-parsechangelog)`
+
 
 dpkg-buildpackage -us -uc -rfakeroot
+svn mkdir $svnuri/package_tags/$Source -m "Create package tags directory" ||true
 svn cp  $svnuri/$package $svnuri/package_tags/$Source/$Version -m "Tag $Version of $Source"
 echo reprepro-env include $Distribution  ../$Source*$Version.changes