Skip to content

Commit bafb43c

Browse files
committed
Release test-0.6.0
1 parent 64e40aa commit bafb43c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

makerelease.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
python makerelease.py --platform=msvc6,msvc71,msvc80,msvc90,mingw -ublep 0.6.0 0.7.0-dev
77
88
When testing this script:
9-
python makerelease.py --force --retag --platform=msvc6,msvc71,msvc80,mingw -ublep test-0.5.0 test-0.6.0-dev
9+
python makerelease.py --force --retag --platform=msvc6,msvc71,msvc80,mingw -ublep test-0.6.0 test-0.6.1-dev
1010
1111
Example of invocation when doing a release:
1212
python makerelease.py 0.5.0 0.6.0-dev
@@ -23,6 +23,7 @@
2323
import os
2424
import time
2525
from devtools import antglob, fixeol, tarball
26+
import amalgate
2627

2728
SVN_ROOT = 'https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/'
2829
SVN_TAG_ROOT = SVN_ROOT + 'tags/jsoncpp'
@@ -322,6 +323,14 @@ def main():
322323
print 'Generating source tarball to', source_tarball_path
323324
tarball.make_tarball( source_tarball_path, [export_dir], export_dir, prefix_dir=source_dir )
324325

326+
amalgated_tarball_path = 'dist/%s-amalgated.tar.gz' % source_dir
327+
print 'Generating amalgated source tarball to', amalgated_tarball_path
328+
amalgated_dir = 'dist/amalgated'
329+
amalgate.amalgate_source( export_dir, '%s/jsoncpp.cpp' % amalgated_dir, 'json/json.h' )
330+
amalgated_source_dir = 'jsoncpp-src-amalgated' + release_version
331+
tarball.make_tarball( amalgated_tarball_path, [amalgated_dir],
332+
amalgated_dir, prefix_dir=amalgated_source_dir )
333+
325334
# Decompress source tarball, download and install scons-local
326335
distcheck_dir = 'dist/distcheck'
327336
distcheck_top_dir = distcheck_dir + '/' + source_dir

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0-dev
1+
test-0.6.0

0 commit comments

Comments
 (0)