changeset 2955:dbdb07aae543

strip git describe output.
author hanwen <hanwen@lilypond.org>
date Sun, 03 Dec 2006 18:23:52 +0100
parents 799ec73dedd8
children b4c2808ff5f5
files lilypondorg.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lilypondorg.py	Sun Dec 03 17:19:52 2006 +0100
+++ b/lilypondorg.py	Sun Dec 03 18:23:52 2006 +0100
@@ -153,8 +153,8 @@
 
 
 
-    description = repo.git_pipe ('describe --abbrev=39 %(branch)s' % locals())
-
+    description = repo.git_pipe ('describe --abbrev=39 %(branch)s' % locals()).strip ()
+    
     git_tag = 'release/%(version_str)s-%(build)d' % locals () 
     git_tag_cmd = 'git --git-dir downloads/lilypond.git tag -a -m "build and upload" %(git_tag)s %(branch)s' % locals ()
     git_push_cmd = 'git --git-dir downloads/lilypond.git push ssh+git://git.sv.gnu.org/srv/git/lilypond.git/ refs/tags/%(git_tag)s:refs/tags/%(git_tag)s' % locals ()