change get-orig-source to release-upstream target

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-08-05 12:20:14 +01:00
commit eb567716e9
3 changed files with 8 additions and 2 deletions

View file

@ -10,7 +10,7 @@ error() {
head -n1 debian/changelog | grep "unreleased" || error "This version must be 'unreleased'"
./debian/rules get-orig-source
./debian/rules release-upstream
bzr bd
sed -i "s/) unreleased;/-0ubuntu1~ppa1) hardy;/" debian/changelog
bzr bd -S

6
debian/release.sh vendored
View file

@ -28,6 +28,12 @@ rsync -aP ../*.rpm kirkland@people.canonical.com:~kirkland/public_html/$PKG/rpm
$PKG-export -c light -f /tmp/$PKG-export.tar.gz
rsync -aP /tmp/$PKG-export.tar.gz kirkland@people.canonical.com:~kirkland/public_html
# Do the Ubuntu packaging
#cd ..
#rm -rf byobu-ubuntu
#bzr branch lp:ubuntu/byobu byobu-ubuntu
#...
# Open the next release for development
nextminor=`expr $minor + 1`
sed -i "s/^VERSION=.*$/VERSION=$MAJOR.$nextminor/" byobu

2
debian/rules vendored
View file

@ -7,7 +7,7 @@
PKG=byobu
VER=`head -n 1 debian/changelog | sed 's/^.*(//' | sed 's/).*//' | sed 's/-.*//'`
get-orig-source:
release-upstream:
dh_testdir
bzr export ../${PKG}_${VER}.orig.tar.gz