Fixup after merge

This commit is contained in:
zvecr 2022-03-18 01:53:39 +00:00
parent 2e8db66201
commit 72602a3443
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ import os
import sys
import shutil
from pathlib import Path
from time import strftime
from itertools import islice
from subprocess import DEVNULL
from milc import cli
@ -96,7 +98,7 @@ def get_git_version(current_time=None, repo_dir='.', check_dir='.'):
git_describe_cmd = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
if current_time is None:
current_time = strftime(time_fmt)
current_time = strftime('%Y-%m-%d-%H:%M:%S')
if repo_dir != '.':
repo_dir = Path('lib') / repo_dir