From 4478af3d5380d8a5d4da04713efe2a29e7a926fe Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Thu, 10 Mar 2022 18:35:31 +0530 Subject: [PATCH] Fix git fetch on CI --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 37e742adaf9..525a2569b69 100755 --- a/make.sh +++ b/make.sh @@ -341,7 +341,7 @@ git_version() { local current_commit local current_branch - git fetch --prune --unshallow --tags + git fetch --tags current_tag=$(git tag --points-at HEAD | head -1) current_commit=$(git rev-parse --short HEAD) current_branch=$(git rev-parse --abbrev-ref HEAD)