Commit 030c576c authored by 4ast's avatar 4ast

Merge pull request #39 from iovisor/revision-fix

Omit leading 'v' from python .tar.gz revision
parents a0adc86e 9c8bd81f
......@@ -5,7 +5,7 @@ string(SUBSTRING "${GIT_SHA1}" 0 8 GIT_SHA1_SHORT)
git_describe(GIT_DESCRIPTION)
git_describe(GIT_TAG_LAST "--abbrev=0")
git_get_exact_tag(GIT_TAG_EXACT)
set(REVISION "${GIT_TAG_LAST}-${GIT_SHA1_SHORT}")
string(SUBSTRING "${GIT_TAG_LAST}-${GIT_SHA1_SHORT}" 1 -1 REVISION)
if(GIT_TAG_EXACT)
string(SUBSTRING "${GIT_TAG_EXACT}" 1 -1 REVISION)
message(STATUS "Currently on Git tag ${GIT_TAG_EXACT}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment