trying for "$version" message for the commit that is the release commit
This commit is contained in:
parent
b225896a5e
commit
a26164f01f
@ -152,7 +152,7 @@ def cutarelease(project_name, version_files, dry_run=False):
|
|||||||
f = codecs.open(changes_path, 'w', 'utf-8')
|
f = codecs.open(changes_path, 'w', 'utf-8')
|
||||||
f.write(changes_txt)
|
f.write(changes_txt)
|
||||||
f.close()
|
f.close()
|
||||||
run('git commit %s -m "prepare for %s release"'
|
run('git commit %s -m "%s"'
|
||||||
% (changes_path, version))
|
% (changes_path, version))
|
||||||
|
|
||||||
# Tag version and push.
|
# Tag version and push.
|
||||||
@ -248,7 +248,7 @@ def cutarelease(project_name, version_files, dry_run=False):
|
|||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
run('git commit %s %s -m "prep for future dev"' % (
|
run('git commit %s %s -m "bumpver for subsequent work"' % (
|
||||||
changes_path, ' '.join(version_files)))
|
changes_path, ' '.join(version_files)))
|
||||||
run('git push')
|
run('git push')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user