bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
|
0.11.1
by Lukáš Lalinský
Initial import |
1 |
#!/bin/bash
|
2 |
||
|
4009.1.2
by Vincent Ladeuil
Fixed as per Matt, Jelmer and John reviews. |
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"' |
|
7 |
exit 1 |
|
8 |
fi
|
|
9 |
||
|
0.11.1
by Lukáš Lalinský
Initial import |
10 |
if [ "x$1" = "x" ]; then |
11 |
echo "Missing version" |
|
|
3649.4.1
by John Arbash Meinel
Merge in Lukáš's helper scripts. |
12 |
echo "You want something like:" |
13 |
echo " update-changelogs.sh 1.6~rc1-1~bazaar1" |
|
14 |
echo "or" |
|
15 |
echo " update-changelogs.sh 1.6-1~bazaar1" |
|
|
0.11.1
by Lukáš Lalinský
Initial import |
16 |
exit |
17 |
fi
|
|
18 |
VERSION=$1 |
|
19 |
||
|
3649.4.1
by John Arbash Meinel
Merge in Lukáš's helper scripts. |
20 |
for DISTRO in $UBUNTU_RELEASES; do |
21 |
PPAVERSION="$VERSION~${DISTRO}1" |
|
|
0.11.2
by Lukáš Lalinský
Automatically commit |
22 |
( |
|
3649.4.1
by John Arbash Meinel
Merge in Lukáš's helper scripts. |
23 |
echo "Updating changelog for $DISTRO" |
24 |
cd "packaging-$DISTRO" && |
|
25 |
dch -v $PPAVERSION -D $DISTRO -c changelog 'New upstream release.' && |
|
26 |
bzr commit -m "New upstream release: $PPAVERSION" |
|
|
0.11.2
by Lukáš Lalinský
Automatically commit |
27 |
) |
|
0.11.1
by Lukáš Lalinský
Initial import |
28 |
done
|