diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-07-04 16:07:42 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2020-07-04 16:07:42 -0700 |
commit | f53ea8b0bffbccc9915f6460aa5dceb6d89dbfa3 (patch) | |
tree | f8ab2aadc7c7c69df96d3f6afca994727b2460f4 /bin | |
parent | ad3f21fbf0667f5b654771176d29dbdf75d9b120 (diff) | |
download | scons-git-f53ea8b0bffbccc9915f6460aa5dceb6d89dbfa3.tar.gz |
reset to development mode
Diffstat (limited to 'bin')
-rw-r--r-- | bin/update-release-info.py | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/bin/update-release-info.py b/bin/update-release-info.py index 71c51a992..9141addc2 100644 --- a/bin/update-release-info.py +++ b/bin/update-release-info.py @@ -275,8 +275,8 @@ def main(args, rel_info): # Update src/RELEASE.txt - t = UpdateFile('RELEASE.txt'), - os.path.join('template', 'RELEASE.txt') + t = UpdateFile('RELEASE.txt', + os.path.join('template', 'RELEASE.txt')) if DEBUG: t.file = '/tmp/RELEASE.txt' t.replace_version() @@ -286,25 +286,6 @@ def main(args, rel_info): if DEBUG: t.file = '/tmp/CHANGES.txt' t.sub('\nRELEASE .*', '\nRELEASE ' + rel_info.version_string + ' - ' + rel_info.new_date) - # Update RELEASE.txt - t = UpdateFile('RELEASE.txt') - if DEBUG: t.file = '/tmp/RELEASE.txt' - t.replace_version() - - # Update src/Announce.txt - - # t = UpdateFile(os.path.join('src', 'Announce.txt')) - # if DEBUG: t.file = '/tmp/Announce.txt' - # t.sub('\nRELEASE .*', '\nRELEASE ' + rel_info.version_string + ' - ' + rel_info.new_date) - # - # Update SConstruct - - t = UpdateFile('SConstruct') - if DEBUG: t.file = '/tmp/SConstruct' - t.replace_assign('month_year', repr(rel_info.month_year)) - t.replace_assign('copyright_years', repr(rel_info.copyright_years)) - t.replace_assign('default_version', repr(rel_info.version_string)) - # Update README for readme_file in ['README.rst', 'README-SF.rst']: t = UpdateFile(readme_file) |