disable git status check

This commit is contained in:
Vladimir Mandic
2023-04-24 19:20:48 -04:00
parent 45079f7ce8
commit 023e13b371
2 changed files with 5 additions and 13 deletions
+4 -4
View File
@@ -396,10 +396,10 @@ def check_version():
if not os.path.exists('.git'):
log.error('Not a git repository')
exit(1)
status = git('status')
if 'branch' not in status:
log.error('Cannot get git repository status')
exit(1)
_status = git('status')
# if 'branch' not in status:
# log.error('Cannot get git repository status')
# exit(1)
ver = git('log -1 --pretty=format:"%h %ad"')
log.info(f'Version: {ver}')
commit = git('rev-parse HEAD')