/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/packaging/update-changelogs.sh

  • Committer: Martin
  • Date: 2019-06-16 19:53:27 UTC
  • mto: This revision was merged to the branch mainline in revision 7349.
  • Revision ID: gzlist@googlemail.com-20190616195327-awvhgbjo9g6mkt57
Relocate the bzr log file out of $HOME

Now under $XDG_CACHE_HOME on nix and %LOCALAPPDATA% on windows.

Setting $BRZ_HOME will override the cache location, to simplify test
isolation, and $BRZ_LOG is still the final word.

Drive-by fix various docs around bzr/brz spelling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
 
2
# Helper to insert a new entry in debian/changelog
2
3
 
3
4
if [ -z "$UBUNTU_RELEASES" ]; then
4
5
    echo "Configure the distro platforms that you want to"
27
28
    (
28
29
        echo "Updating changelog for $DISTRO"
29
30
        cd "$PACKAGE-$DISTRO" &&
30
 
            dch -v $PPAVERSION -D $DISTRO -c changelog "$MSG." &&
 
31
            dch -v $PPAVERSION -D $DISTRO "$MSG." &&
31
32
            bzr commit -m "$MSG: $PPAVERSION"
32
33
    )
33
34
done