mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
add a few more release tasks
This commit is contained in:
parent
c34230f69f
commit
5737d3044b
1 changed files with 14 additions and 2 deletions
16
debian/release.sh
vendored
16
debian/release.sh
vendored
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
error() {
|
error() {
|
||||||
echo "ERROR: $@"
|
echo "ERROR: $@"
|
||||||
|
@ -8,18 +8,30 @@ error() {
|
||||||
head -n1 debian/changelog | grep "unreleased" || error "This version must be 'unreleased'"
|
head -n1 debian/changelog | grep "unreleased" || error "This version must be 'unreleased'"
|
||||||
|
|
||||||
i=1
|
i=1
|
||||||
|
./debian/rules get-orig-source
|
||||||
|
debuild
|
||||||
sed -i "s/) unreleased;/-0ubuntu1~ppa1) hardy;/" debian/changelog
|
sed -i "s/) unreleased;/-0ubuntu1~ppa1) hardy;/" debian/changelog
|
||||||
debuild -S
|
debuild -S
|
||||||
sed -i "s/ppa1) hardy;/ppa2) intrepid;/" debian/changelog
|
sed -i "s/ppa1) hardy;/ppa2) intrepid;/" debian/changelog
|
||||||
debuild -S
|
debuild -S
|
||||||
sed -i "s/ppa2) intrepid;/ppa3) jaunty;/" debian/changelog
|
sed -i "s/ppa2) intrepid;/ppa3) jaunty;/" debian/changelog
|
||||||
debuild -S
|
debuild -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`
|
||||||
|
dch -v "1.$ver" "UNRELEASED"
|
||||||
|
sed -i "s/1.$ver) jaunty;/1.$ver) unreleased;/" debian/changelog
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
echo "To test:"
|
||||||
|
echo " sudo dpkg -i ../*.deb"
|
||||||
echo
|
echo
|
||||||
echo "To upload:"
|
echo "To upload PPA packages:"
|
||||||
echo " dput screen-profiles-ppa ../*ppa*changes"
|
echo " dput screen-profiles-ppa ../*ppa*changes"
|
||||||
echo
|
echo
|
||||||
|
echo "To commit and push:"
|
||||||
|
echo " bzr commit && bzr push"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue