mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
use bzr bd to build, rather than debuild
This commit is contained in:
parent
572f6163d5
commit
5e6972ebbf
1 changed files with 8 additions and 8 deletions
16
debian/release.sh
vendored
16
debian/release.sh
vendored
|
@ -8,18 +8,17 @@ error() {
|
|||
head -n1 debian/changelog | grep "unreleased" || error "This version must be 'unreleased'"
|
||||
|
||||
i=1
|
||||
./debian/rules get-orig-source
|
||||
debuild
|
||||
bzr bd
|
||||
sed -i "s/) unreleased;/-0ubuntu1~ppa1) hardy;/" debian/changelog
|
||||
debuild -S
|
||||
bzr bd -S
|
||||
sed -i "s/ppa1) hardy;/ppa2) intrepid;/" debian/changelog
|
||||
debuild -S
|
||||
bzr bd -S
|
||||
sed -i "s/ppa2) intrepid;/ppa3) jaunty;/" debian/changelog
|
||||
debuild -S
|
||||
bzr bd -S
|
||||
sed -i "s/~ppa3) jaunty;/) jaunty;/" debian/changelog
|
||||
debuild -S
|
||||
ver=`head -n1 debian/changelog | sed "s/^.*(1.//" | sed "s/-.*$//"`
|
||||
ver=`expr $ver + 1`
|
||||
bzr bd -S
|
||||
curver=`head -n1 debian/changelog | sed "s/^.*(1.//" | sed "s/-.*$//"`
|
||||
ver=`expr $curver + 1`
|
||||
dch -v "1.$ver" "UNRELEASED"
|
||||
sed -i "s/1.$ver) jaunty;/1.$ver) unreleased;/" debian/changelog
|
||||
|
||||
|
@ -33,6 +32,7 @@ echo " dput screen-profiles-ppa ../*ppa*changes"
|
|||
echo
|
||||
echo "To commit and push:"
|
||||
echo " bzr diff"
|
||||
echo " bzr tag 1.$curver"
|
||||
echo " bzr commit && bzr push"
|
||||
echo
|
||||
echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue