From 00d0ddb0731ae023f03b367ae0dd2efe00c0d97b Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 15 Jul 2007 16:58:57 -0400 Subject: [PATCH] working sx-build-release svn path=/trunk/packages/sipb-xen-dev/sipb-xen-dev/; revision=16 --- debian/changelog | 7 +++++++ sx-build-release | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 952486a..2a6b703 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-dev (3) unstable; urgency=low + + * Working sx-build-release + + + -- Sam Hartman Sun, 15 Jul 2007 16:58:46 -0400 + sipb-xen-dev (2) unstable; urgency=low * Add sipb-xen-repository apache config diff --git a/sx-build-release b/sx-build-release index 7aeafe3..d86ba37 100755 --- a/sx-build-release +++ b/sx-build-release @@ -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 -- 1.7.9.5