From a26164f01f1e9bcce045c01b9e60d3d60d033225 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Mon, 5 Oct 2015 06:47:03 -0700 Subject: [PATCH] trying for "$version" message for the commit that is the release commit --- tools/cutarelease.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cutarelease.py b/tools/cutarelease.py index 2cfeb98..e4c5769 100755 --- a/tools/cutarelease.py +++ b/tools/cutarelease.py @@ -152,7 +152,7 @@ def cutarelease(project_name, version_files, dry_run=False): f = codecs.open(changes_path, 'w', 'utf-8') f.write(changes_txt) f.close() - run('git commit %s -m "prepare for %s release"' + run('git commit %s -m "%s"' % (changes_path, version)) # Tag version and push. @@ -248,7 +248,7 @@ def cutarelease(project_name, version_files, dry_run=False): f.close() 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))) run('git push')