From 02e773d11efca593af0c07e1f428a2c0575e372f Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 26 May 2021 13:31:06 +0200 Subject: [PATCH] Set the short length tag fix to 8 characters --- scripts/helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper.sh b/scripts/helper.sh index 2190a5b8..f2b83cfd 100644 --- a/scripts/helper.sh +++ b/scripts/helper.sh @@ -98,7 +98,7 @@ git_version() { if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 || 1 -eq 1 ]]; then case "$1" in "short-tag" | "name" | "file-name") - git rev-parse --short HEAD + git rev-parse --short=8 HEAD ;; "long-tag") git rev-parse HEAD