Skip to content

Commit 6ca0210

Browse files
committed
comment out tag dirty git status fetch
1 parent 899597f commit 6ca0210

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/generators/util_generators/version_string_generator.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ def get_git_version(self) -> str:
2121
version_short = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'], cwd=working_directory).decode(
2222
'ascii'
2323
).strip()
24-
version_description = subprocess.check_output(
25-
['git', 'describe', '--tag', '--dirty'],
26-
cwd=working_directory
27-
).decode('ascii').strip()
28-
print('Git versions:', '\n', version_description, '\n', version_short, '\n', version_long, '\n')
24+
25+
# version_description = subprocess.check_output(
26+
# ['git', 'describe', '--tag', '--dirty'],
27+
# cwd=working_directory
28+
# ).decode('ascii').strip()
29+
# print('Git versions:', '\n', version_description, '\n', version_short, '\n', version_long, '\n')
30+
31+
print('Git versions:', '\n', version_short, '\n', version_long, '\n')
2932
return version_long
3033

3134
def obtain_version_string(self):

0 commit comments

Comments
 (0)