From 7105eca7bf39fb67c1d3a3318b0914e00575fd36 Mon Sep 17 00:00:00 2001 From: filip Date: Thu, 21 Nov 2024 13:58:55 +0100 Subject: [PATCH] Change name to DEBRICKED_VERSION --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 62d78a48..ee228b29 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -4,7 +4,7 @@ if ! command -v git &> /dev/null then echo -e "Failed to find git, thus also the version. Version will be set to v0.0.0" fi -version=${VERSION:-$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)} +version=${DEBRICKED_VERSION:-$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)} ldFlags="-X main.version=${version}" go install -ldflags "${ldFlags}" ./cmd/debricked go generate -v -x ./cmd/debricked