bzr commands so packages can build on slaves.

Change-Id: I4fe06c819f96c9caee63608c4d83224c0e3f014a
This commit is contained in:
Monty Taylor
2011-07-24 15:20:05 -04:00
parent b8f95dc0d3
commit ac6f819733

View File

@@ -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