chore: ignore output in git command setup.mk

This commit is contained in:
Felipe M 2025-08-06 18:52:41 +02:00
parent 4c555fe7f0
commit 86844eb713
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A

View file

@ -5,9 +5,9 @@ ifeq ($(GO),)
endif endif
# Gather build variables to inject into the manifest tool # 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_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. # Extract the plugin id from the manifest.
PLUGIN_ID ?= $(shell pluginctl manifest get '{{"{{"}}.Id{{"}}"}}') PLUGIN_ID ?= $(shell pluginctl manifest get '{{"{{"}}.Id{{"}}"}}')