[gnus git] branch master updated: n0-12-9-g00cc8da

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  00cc8dae5781e00054be60c930437634fc880667 (commit)
      from  4fc3db870a731a7582cc77dc5f8436268adb58ed (commit)


- Log -----------------------------------------------------------------
commit 00cc8dae5781e00054be60c930437634fc880667
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 15:30:45 2011 -0800

    Increase the version numbers twice to get easier tag points to pull.

diff --git a/makepub b/makepub
index 7e9228e..a068bfc 100755
--- a/makepub
+++ b/makepub
@@ -19,13 +19,11 @@ next_version=`expr $next_version + 1`
 next_version="$prefix$next_version"
 
 date=`TZ=Z date "+%Y-%m-%d"`
-echo -e "$date  Lars Magne Ingebrigtsen  <[email protected]>\n\n\t* gnus.el: $name v$version is released.\n"\
+echo -e "$date  Lars Magne Ingebrigtsen  <[email protected]>\n\n\t* gnus.el: $name v$next_version is released.\n"\
   > /tmp/changelog
 cat lisp/ChangeLog >> /tmp/changelog
 mv /tmp/changelog lisp/ChangeLog
 
-git commit -a -m "$name v$version is released"
-
 # Then update the sources to the next version.
 
 sed "s/$name v[.0-9]*/$name v$next_version/" texi/gnus.texi > g.texi.tmp
@@ -35,7 +33,29 @@ mv m.texi.tmp texi/message.texi
 sed "s/defconst gnus-version-number \"$version\"/defconst gnus-version-number \"$next_version\"/" lisp/gnus.el > g.el.tmp
 mv g.el.tmp lisp/gnus.el
 
+git commit -a -m "$name v$next_version is released"
+
 tversion=`echo $next_version | sed 's/[.]/-/g'`
 
-git tag -a "$initial$tversion" -m "$name v$next_version is begun"
+git tag -a "$initial$tversion" -m "$name v$next_version is released"
+
+git push
+git push --tags
+
+# Increase the number, yet again, to start the next development cycle.
+
+version=$next_version
+
+prefix=`echo $version | sed 's/^\(.*[.]\)\([0-9][0-9]*\)/\1/'`
+next_version=`echo $version | sed 's/^\(.*[.]\)\([0-9][0-9]*\)/\2/'`
+next_version=`expr $next_version + 1`
+next_version="$prefix$next_version"
+
+sed "s/$name v[.0-9]*/$name v$next_version/" texi/gnus.texi > g.texi.tmp
+mv g.texi.tmp texi/gnus.texi
+sed "s/$name v[.0-9]*/$name v$next_version/" texi/message.texi > m.texi.tmp
+mv m.texi.tmp texi/message.texi
+sed "s/defconst gnus-version-number \"$version\"/defconst gnus-version-number \"$next_version\"/" lisp/gnus.el > g.el.tmp
+mv g.el.tmp lisp/gnus.el
+
 git commit -a -m "$name v$next_version is begun"

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 makepub |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.