From a51c963fbfd57a15f53b0ed7ce92fdaa5e2640be Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Fri, 16 Sep 2022 12:02:26 -0400 Subject: [PATCH] release: fix location of v Signed-off-by: Peter Hunt --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7136e2914..9e9cfe3029 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GOTOOLS_GOPATH ?= $(BUILD_DIR)/gotools GOTOOLS_BINDIR ?= $(GOTOOLS_GOPATH)/bin GINKGO_FLAGS ?= -vv --trace --race --randomize-all --flake-attempts 3 --progress --timeout 5m -r pkg/client TEST_FLAGS ?= -PACKAGE_NAME ?= $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[2] | [ .name, .version ] | join("-")') +PACKAGE_NAME ?= $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[2] | [ .name, .version ] | join("-v")') PREFIX ?= /usr CI_TAG ?= @@ -75,7 +75,7 @@ update-proto: .PHONY: create-release-packages create-release-packages: release - if [ "v$(PACKAGE_NAME)" != "conmonrs-$(CI_TAG)" ]; then \ + if [ "$(PACKAGE_NAME)" != "conmonrs-$(CI_TAG)" ]; then \ echo "crate version and tag mismatch" ; \ exit 1 ; \ fi