mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
add a script for releasing ppa packages
This commit is contained in:
parent
39553928df
commit
c34230f69f
1 changed files with 25 additions and 0 deletions
25
debian/release.sh
vendored
Executable file
25
debian/release.sh
vendored
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
error() {
|
||||||
|
echo "ERROR: $@"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
head -n1 debian/changelog | grep "unreleased" || error "This version must be 'unreleased'"
|
||||||
|
|
||||||
|
i=1
|
||||||
|
sed -i "s/) unreleased;/-0ubuntu1~ppa1) hardy;/" debian/changelog
|
||||||
|
debuild -S
|
||||||
|
sed -i "s/ppa1) hardy;/ppa2) intrepid;/" debian/changelog
|
||||||
|
debuild -S
|
||||||
|
sed -i "s/ppa2) intrepid;/ppa3) jaunty;/" debian/changelog
|
||||||
|
debuild -S
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo "To upload:"
|
||||||
|
echo " dput screen-profiles-ppa ../*ppa*changes"
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo
|
Loading…
Add table
Add a link
Reference in a new issue