|
6 | 6 | python makerelease.py --platform=msvc6,msvc71,msvc80,msvc90,mingw -ublep 0.6.0 0.7.0-dev |
7 | 7 |
|
8 | 8 | 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 |
10 | 10 |
|
11 | 11 | Example of invocation when doing a release: |
12 | 12 | python makerelease.py 0.5.0 0.6.0-dev |
|
23 | 23 | import os |
24 | 24 | import time |
25 | 25 | from devtools import antglob, fixeol, tarball |
| 26 | +import amalgate |
26 | 27 |
|
27 | 28 | SVN_ROOT = 'https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/' |
28 | 29 | SVN_TAG_ROOT = SVN_ROOT + 'tags/jsoncpp' |
@@ -322,6 +323,14 @@ def main(): |
322 | 323 | print 'Generating source tarball to', source_tarball_path |
323 | 324 | tarball.make_tarball( source_tarball_path, [export_dir], export_dir, prefix_dir=source_dir ) |
324 | 325 |
|
| 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 | + |
325 | 334 | # Decompress source tarball, download and install scons-local |
326 | 335 | distcheck_dir = 'dist/distcheck' |
327 | 336 | distcheck_top_dir = distcheck_dir + '/' + source_dir |
|
0 commit comments