pluginctl: 0.1.4
This commit is contained in:
parent
a76200f4b9
commit
275dd4bb8e
3 changed files with 3 additions and 6 deletions
3
Makefile
3
Makefile
|
@ -23,9 +23,6 @@ ASSETS_DIR ?= assets
|
||||||
.PHONY: default
|
.PHONY: default
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
# Verify environment, and define PLUGIN_ID, PLUGIN_VERSION, HAS_SERVER and HAS_WEBAPP as needed.
|
|
||||||
include build/setup.mk
|
|
||||||
|
|
||||||
ifneq ($(MM_DEBUG),)
|
ifneq ($(MM_DEBUG),)
|
||||||
GO_BUILD_GCFLAGS = -gcflags "all=-N -l"
|
GO_BUILD_GCFLAGS = -gcflags "all=-N -l"
|
||||||
else
|
else
|
||||||
|
|
|
@ -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}}')
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"pluginctl": {
|
"pluginctl": {
|
||||||
"version": "v0.1.3"
|
"version": "v0.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue