diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-30 14:11:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-30 14:11:30 +0200 |
| commit | 38d84a3f65f98c20f98fc004b72034ad3dada79c (patch) | |
| tree | 453ccc582aa4e867f84769fab45ac7176d6aa0e0 | |
| parent | 264aa902424b64a2c82270b78863bcb845891a98 (diff) | |
Fix tag -> version conversion.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |
