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