diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-02 23:42:16 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-02 23:42:28 +0200 |
commit | a842a69c16f9d2ce8e41c77b727b8252e4d7a5fe (patch) | |
tree | 80f51252b579ebf4a2ba277f41f3148eebfb3149 /wscript | |
parent | eba21335b952f99b6444d50cb2b4118af646bedd (diff) |
allow to prefix tags with “<text>+”
eg. mixbus+3.0 or mb+3.1-rc1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ clang_darwin_dict['full-optimization'] = [ '-O3', '-ffast-math', '-fstrength-red compiler_flags_dictionaries['clang-darwin'] = clang_darwin_dict; def fetch_git_revision (): - cmd = "git describe HEAD" + cmd = "git describe HEAD | sed 's/^[A-Za-z]*+//'" output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines() rev = output[0].decode ('utf-8') return rev |