projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264aa90
)
Fix tag -> version conversion.
master
github/master
author
Carl Hetherington
<cth@carlh.net>
Tue, 30 Apr 2024 12:11:30 +0000
(14:11 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 30 Apr 2024 12:11:30 +0000
(14:11 +0200)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 06bfb4e3f32d7f1b77b1a8a386ad4e6d0cfc038e..83360590983269e56deb3604ee0a0e4975280902 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-1016,7
+1016,7
@@
class Tree:
head_tag = command_and_read(f'git -C {proj} tag -l --points-at HEAD')
if head_tag:
- self.version = head_tag[0]
+ self.version = head_tag[0]
[1:]
else:
self.version = command_and_read(f'git -C {proj} rev-parse --short HEAD')[0]