Extract plugin version from manifest
This commit is contained in:
parent
fac781a229
commit
8cb9ff92df
6 changed files with 28 additions and 12 deletions
|
@ -8,7 +8,7 @@ endif
|
|||
$(shell cd build/manifest && $(GO) build -o ../bin/manifest)
|
||||
|
||||
# Extract the plugin id from the manifest.
|
||||
PLUGIN_ID ?= $(shell build/bin/manifest plugin_id)
|
||||
PLUGIN_ID ?= $(shell build/bin/manifest id)
|
||||
ifeq ($(PLUGIN_ID),)
|
||||
$(error "Cannot parse id from $(MANIFEST_FILE)")
|
||||
endif
|
||||
|
|
Reference in a new issue