Improve the release procedure with dch and debcommit --release

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-10-11 20:56:06 -05:00
commit fcf35c4b16

5
debian/release.sh vendored
View file

@ -12,9 +12,8 @@ head -n1 debian/changelog | grep "karmic" || error "This version must be ready f
# Tag the release in bzr
minor=`head -n1 debian/changelog | sed "s/^.*($MAJOR.//" | sed "s/-.*$//"`
bzr tag --delete "$MAJOR.$minor" || true
bzr tag "$MAJOR.$minor"
bzr commit -m "releasing $MAJOR.$minor" --unchanged
dch --release
debcommit --release --message="releasing $MAJOR.$minor"
# Sign the tarball
gpg --armor --sign --detach-sig ../"$PKG"_*.orig.tar.gz