mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-05-01 11:31:29 +00:00
Fixup after merge
This commit is contained in:
parent
2e8db66201
commit
72602a3443
@ -4,6 +4,8 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import shutil
|
import shutil
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from time import strftime
|
||||||
|
from itertools import islice
|
||||||
from subprocess import DEVNULL
|
from subprocess import DEVNULL
|
||||||
|
|
||||||
from milc import cli
|
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']
|
git_describe_cmd = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
|
||||||
|
|
||||||
if current_time is None:
|
if current_time is None:
|
||||||
current_time = strftime(time_fmt)
|
current_time = strftime('%Y-%m-%d-%H:%M:%S')
|
||||||
|
|
||||||
if repo_dir != '.':
|
if repo_dir != '.':
|
||||||
repo_dir = Path('lib') / repo_dir
|
repo_dir = Path('lib') / repo_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user