From 1abd049e5e212e32e67e75fc0ae6db6260b99d48 Mon Sep 17 00:00:00 2001 From: Fumon Shimadate <141066392+fumons@users.noreply.github.com> Date: Sun, 26 Oct 2025 19:58:45 +0900 Subject: [PATCH] Handle builds without git tags --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 389f31b..829fbf9 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ # Script to build msak with the correct flags. set -ex -VERSION=$(git describe --tags) +VERSION=$(git describe --tags --always) versionflags="-X github.com/m-lab/msak/pkg/version.Version=$VERSION" COMMIT=$(git log -1 --format=%h)