From ac6f819733624ad8c5cf278ad1f423048da0f8af Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 24 Jul 2011 15:20:05 -0400 Subject: [PATCH] bzr commands so packages can build on slaves. Change-Id: I4fe06c819f96c9caee63608c4d83224c0e3f014a --- ppa_script.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ppa_script.sh b/ppa_script.sh index 5a3057a3..f382409b 100755 --- a/ppa_script.sh +++ b/ppa_script.sh @@ -1,9 +1,4 @@ #!/bin/sh -# This needs to always run on the Jenkins master because it does signing and -# uploading, which would be monstrously difficult (at this point) to do on a -# slave. At some point, perhaps we can get key management done differently -# and rework this - but for now it's not really a burden to have this stuff -# on the master (you don't need build depends to make a source package) set -e @@ -71,6 +66,9 @@ do echo "$PROJECT $pkgversion" >> "$PKGRECORDFILE" sort "$PKGRECORDFILE" > "$PKGRECORDFILE".tmp mv "$PKGRECORDFILE".tmp "$PKGRECORDFILE" + ( cd $VERSIONDIR ; + bzr up ; + bzr commit -m"Added $PROJECT $snapshotversion" ) break fi done