diff --git a/Makefile.common b/Makefile.common index a9ae2477..e1b97f87 100644 --- a/Makefile.common +++ b/Makefile.common @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/fs/Makefile b/fs/Makefile index 715e8494..7b6ba173 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/http-client/Makefile b/http-client/Makefile index 046639a8..0da9d805 100644 --- a/http-client/Makefile +++ b/http-client/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/http-server/Makefile b/http-server/Makefile index 581da4b5..bbd99e99 100644 --- a/http-server/Makefile +++ b/http-server/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/logging/Makefile b/logging/Makefile index 519c04c7..b5ab9363 100644 --- a/logging/Makefile +++ b/logging/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/redis-streams/Makefile b/redis-streams/Makefile index 6b2daeef..5ab00b4f 100644 --- a/redis-streams/Makefile +++ b/redis-streams/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/redis/Makefile b/redis/Makefile index e6be2da9..3ddb35fd 100644 --- a/redis/Makefile +++ b/redis/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/redisgraph/Makefile b/redisgraph/Makefile index d532d429..1212a499 100644 --- a/redisgraph/Makefile +++ b/redisgraph/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/s3/Makefile b/s3/Makefile index 23b3edf9..2c28f051 100644 --- a/s3/Makefile +++ b/s3/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0 diff --git a/telnet/Makefile b/telnet/Makefile index 7f561c86..868ae953 100644 --- a/telnet/Makefile +++ b/telnet/Makefile @@ -5,6 +5,7 @@ endef CAPABILITY_ID := $(call readvar,CAPABILITY_ID) NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name') +VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version') LIBNAME := $(shell echo $(NAME) | tr '-' '_') VENDOR := wasmCloud REVISION ?= 0