From 86844eb7133944dc0efe79c8472f7857df2e1f2c Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Wed, 6 Aug 2025 18:52:41 +0200 Subject: [PATCH] chore: ignore output in git command setup.mk --- assets/build/_setup.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/build/_setup.mk b/assets/build/_setup.mk index 91bcc00..9ff3a24 100644 --- a/assets/build/_setup.mk +++ b/assets/build/_setup.mk @@ -5,9 +5,9 @@ ifeq ($(GO),) endif # Gather build variables to inject into the manifest tool -BUILD_HASH_SHORT = $(shell git rev-parse --short HEAD) +BUILD_HASH_SHORT = $(shell git rev-parse --short HEAD 2>/dev/null) BUILD_TAG_LATEST = $(shell git describe --tags --match 'v*' --abbrev=0 2>/dev/null) -BUILD_TAG_CURRENT = $(shell git tag --points-at HEAD) +BUILD_TAG_CURRENT = $(shell git tag --points-at HEAD 2>/dev/null) # Extract the plugin id from the manifest. PLUGIN_ID ?= $(shell pluginctl manifest get '{{"{{"}}.Id{{"}}"}}')