chore: ignore output in git command setup.mk
This commit is contained in:
parent
4c555fe7f0
commit
86844eb713
1 changed files with 2 additions and 2 deletions
|
@ -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{{"}}"}}')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue