diff options
author | Christian Dywan <christian.dywan@canonical.com> | 2014-04-03 22:28:14 +0200 |
---|---|---|
committer | Christian Dywan <christian.dywan@canonical.com> | 2014-04-03 22:28:14 +0200 |
commit | d086c0e57e40d45009c1ef8c3949ba05650cc776 (patch) | |
tree | 48ed3fb37f7ac4284ae5025a0ae5d03939d1760c /tools | |
parent | a33cc05cdda19754c305357d2ce673c4727af9da (diff) | |
download | midori-d086c0e57e40d45009c1ef8c3949ba05650cc776.tar.gz |
Bump version to 0.5.80.5.8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/release | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tools/release b/tools/release index 6c12039d..41939e8b 100755 --- a/tools/release +++ b/tools/release @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de> +# Copyright (C) 2013-2014 Christian Dywan <christian@twotoasts.de> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -14,15 +14,23 @@ NEWVER=$(python -c "print('0.'+str(float('$OLDVER'[2:])+.1))") if [ "x$1" = "xbefore" ]; then echo Bumping from $OLDVER to $NEWVER sed -i "s@$OLDVER@$NEWVER@g" CMakeLists.txt win32/makedist/midori.nsi - echo; echo v$NEWVER:; bzr log --line -rtag:$OLDVER.. | sed -r 's@.+2013-[0-9]+-[0-9]+ @@' | sed 's@\[merge\] @@' | grep -v -E 'l10n|makedist|tools(/release)?: |nsi|translation|Bump version to|Merge lp:midori|POTFILES.in'; echo + mv ChangeLog ChangeLog.old || exit 1 + echo This file is licensed under the terms of the expat license, see the file EXPAT. > ChangeLog + echo >> ChangeLog + echo v$NEWVER >> ChangeLog + bzr log --line -rtag:$OLDVER.. \ + | sed -r 's@.+20[0-9][0-9]-[0-9]+-[0-9]+ @ @' \ + | sed 's@\[merge\] @@' \ + | grep -v -E 'l10n|Revert |makedist|tools(/release)?: |nsi|translation|Bump version to|Merge lp:midori|POTFILES.in' \ + >> ChangeLog + tail -n+2 ChangeLog.old >> ChangeLog + rm ChangeLog.old curl http://wiki.xfce.org/_export/raw/midori/contribute | \ sed -r 's@\[\[([^|]+)\|([^]]+)\]\]@\1 \2@g' | \ sed -r 's@<code( bash|)>|</code>@@g' > HACKING curl http://wiki.xfce.org/_export/xhtml/midori/faq | \ sed 's@This is a list of frequently asked questions@This is <a href="http://wiki.xfce.org/midori/faq">a snapshot of the online FAQ</a>@g' | \ sed 's@<link rel="style.*>@<link rel="stylesheet" href="faq.css" />@g' > data/faq.html -elif [ "x$1" = "xafter" ]; then - NEWVER=$OLDVER echo -n bzr commit -p -m "'Bump version to $NEWVER'" case $SHELL in *fish*) @@ -31,9 +39,9 @@ elif [ "x$1" = "xafter" ]; then echo -n ' && ' ;; esac echo bzr tag $NEWVER +elif [ "x$1" = "xafter" ]; then echo Press RETURN to download tarball now; read yes - wget http://git.xfce.org/apps/midori/snapshot/midori-$NEWVER.tar.bz2 - echo https://releases.xfce.org/ + wget http://bazaar.launchpad.net/~midori/midori/trunk/tarball echo Press RETURN to update Launchpad bugs now; read yes if [ -n $(which bugreleaser 1>/dev/null) ]; then bugreleaser midori |