release.py: sign tags when cutting releases.
authorW. Trevor King <wking@tremily.us>
Thu, 25 Oct 2012 23:46:13 +0000 (19:46 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 25 Oct 2012 23:52:40 +0000 (19:52 -0400)
release.py

index c9b35496c2ebe4e01eace7e940de53ddcd05b5f0..1a87d3cd4b18d9b8a6e652dc1a706ee2fdf63efe 100755 (executable)
@@ -81,7 +81,7 @@ def commit(commit_message):
 
 def tag(tag):
     print 'tag current revision', tag
-    invoke(['git', 'tag', tag])
+    invoke(['git', 'tag', '-s', '-m', 'version {}'.format(tag), tag])
 
 def export(target_dir):
     if not target_dir.endswith(os.path.sep):