2
# Helper to insert a new entry in debian/changelog
4
if [ -z "$UBUNTU_RELEASES" ]; then
5
echo "Configure the distro platforms that you want to"
6
echo "build with a line like:"
7
echo ' export UBUNTU_RELEASES="dapper feisty gutsy hardy intrepid jaunty"'
11
if [ "x$VERSION" = "x" ]; then
12
echo "Missing version"
13
echo "You want something like:"
14
echo " VERSION=1.6~rc1-1~bazaar1 update-changelogs.sh"
16
echo " VERSION=1.6-1~bazaar1 update-changelogs.sh"
21
MSG="New upstream release"
26
for DISTRO in $UBUNTU_RELEASES; do
27
PPAVERSION="$VERSION~${DISTRO}1"
29
echo "Updating changelog for $DISTRO"
30
cd "$PACKAGE-$DISTRO" &&
31
dch -v $PPAVERSION -D $DISTRO "$MSG." &&
32
bzr commit -m "$MSG: $PPAVERSION"