diff --git a/debian/release-build.sh b/debian/release-build.sh index 3b904c05..4a36e81b 100755 --- a/debian/release-build.sh +++ b/debian/release-build.sh @@ -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 diff --git a/debian/release.sh b/debian/release.sh index 0acc49b3..16a03254 100755 --- a/debian/release.sh +++ b/debian/release.sh @@ -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 diff --git a/debian/rules b/debian/rules index 80018ef1..c55efb16 100755 --- a/debian/rules +++ b/debian/rules @@ -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