mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
Improve the release procedure with dch and debcommit --release
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
c1a21b1117
commit
fcf35c4b16
1 changed files with 2 additions and 3 deletions
5
debian/release.sh
vendored
5
debian/release.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue