projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4552f41
)
Fix for release builds.
author
Carl Hetherington
<cth@carlh.net>
Thu, 29 Nov 2018 02:21:45 +0000
(
02:21
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 29 Nov 2018 02:21:45 +0000
(
02:21
+0000)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 1e71b46ab2fa59070a275498bd0ff9496806d1ae..9d8e146d0610d7b3020def0e1c2676467a516bbe 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-352,7
+352,7
@@
class Version:
def from_git_tag(cls, tag):
bits = tag.split('-')
c = cls(bits[0])
- if int(bits[1]) > 0:
+ if
len(bits) > 1 and
int(bits[1]) > 0:
c.devel = True
return c