From 275dd4bb8e0901b5587f4ad1b75a3a9c16865e89 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Wed, 6 Aug 2025 19:16:59 +0200 Subject: [PATCH] pluginctl: 0.1.4 --- Makefile | 3 --- build/_setup.mk | 4 ++-- plugin.json | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c3a899c..ac014a2 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,6 @@ ASSETS_DIR ?= assets .PHONY: default default: all -# Verify environment, and define PLUGIN_ID, PLUGIN_VERSION, HAS_SERVER and HAS_WEBAPP as needed. -include build/setup.mk - ifneq ($(MM_DEBUG),) GO_BUILD_GCFLAGS = -gcflags "all=-N -l" else diff --git a/build/_setup.mk b/build/_setup.mk index f06d3bc..e3f6a50 100644 --- a/build/_setup.mk +++ b/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}}') diff --git a/plugin.json b/plugin.json index 6cbc9a8..5dab454 100644 --- a/plugin.json +++ b/plugin.json @@ -99,7 +99,7 @@ }, "props": { "pluginctl": { - "version": "v0.1.3" + "version": "v0.1.4" } } } \ No newline at end of file