Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

generate ChangeLog on dist and it's not included in repository.

  • Loading branch information...
commit 160964c8a7ca12e3497e8a3112d84396a99e2ce1 1 parent 1722ea9
@kou kou authored
Showing with 4 additions and 7 deletions.
  1. +2 −4 Makefile.am
  2. +2 −3 release/gitlog2changelog.py
View
6 Makefile.am
@@ -1,4 +1,4 @@
-# release: update-latest-release (commit) update-changelog (commit) tag
+# release: update-latest-release (commit) tag
ACLOCAL_AMFLAGS = $$ACLOCAL_ARGS -I .
AUTOMAKE_OPTIONS = 1.9.6
@@ -28,6 +28,7 @@ include $(srcdir)/version.sh
dist-hook:
echo "$(GROONGA_VERSION)" > $(distdir)/version
+ cd $(top_srcdir) && release/gitlog2changelog.py > $(distdir)/ChangeLog
benchmark:
cd test/benchmark && $(MAKE) $(AM_MAKEFLAGS) benchmark
@@ -44,9 +45,6 @@ win32-installer: all
nkf -Wsc $(builddir)/doc/ja/README > dist/doc/README.txt
makensis setup.nsi
-update-changelog:
- cd $(top_srcdir) && release/gitlog2changelog.py
-
tag:
cd $(top_srcdir) && git tag v$(VERSION) -a -m 'groonga $(VERSION)!!!'
View
5 release/gitlog2changelog.py
@@ -2,12 +2,11 @@
# Copyright 2008 Marcus D. Hanwell <marcus@cryos.org>
# Distributed under the terms of the GNU General Public License v2 or later
-import string, re, os
+import string, re, os, sys
# Execute git log with the desired command line options.
fin = os.popen('git log --summary --stat --no-merges --date=short', 'r')
-# Create a ChangeLog file in the current directory.
-fout = open('ChangeLog', 'w')
+fout = sys.stdout
# Set up the loop variables in order to locate the blocks we want
authorFound = False
Please sign in to comment.
Something went wrong with that request. Please try again.