pluginctl: 0.1.4

This commit is contained in:
Felipe M 2025-08-06 19:16:59 +02:00
parent a76200f4b9
commit 275dd4bb8e
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A
3 changed files with 3 additions and 6 deletions

View file

@ -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}}')