test_version: update tset version with 12 digits

update the version with 12 digits in aligned with uniq request from

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2021-01-07 16:31:16 +08:00 committed by Anas Nashif
parent 2b92ae308b
commit d5c60ff2f1

View File

@ -102,7 +102,7 @@ def show_latest():
def update(git_tree, is_weekly=False):
g = Git(git_tree)
today = datetime.now().strftime('%Y-%m-%dT%H:%M:%S.%f')
version = g.describe()
version = g.describe("--abbrev=12")
published = False
data = get_versions()