From a8f4b8afee9fd54c60d99daf36f550b482c2625d Mon Sep 17 00:00:00 2001 From: yusing Date: Sun, 15 Feb 2026 20:06:16 +0800 Subject: [PATCH] chore(makefile): suppress git describe stderr in VERSION variable --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8158f231..58abc33e 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ shell := /bin/sh -export VERSION ?= $(shell git describe --tags --abbrev=0) +export VERSION ?= $(shell git describe --tags --abbrev=0 2>/dev/null) export BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) export BUILD_DATE ?= $(shell date -u +'%Y%m%d-%H%M') export GOOS = linux