Skip to content

Commit cb0734a

Browse files
Merge pull request #727 from haircommander/fix-v
release: fix location of v
2 parents c206c2c + a51c963 commit cb0734a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GOTOOLS_GOPATH ?= $(BUILD_DIR)/gotools
77
GOTOOLS_BINDIR ?= $(GOTOOLS_GOPATH)/bin
88
GINKGO_FLAGS ?= -vv --trace --race --randomize-all --flake-attempts 3 --progress --timeout 5m -r pkg/client
99
TEST_FLAGS ?=
10-
PACKAGE_NAME ?= $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[2] | [ .name, .version ] | join("-")')
10+
PACKAGE_NAME ?= $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[2] | [ .name, .version ] | join("-v")')
1111
PREFIX ?= /usr
1212
CI_TAG ?=
1313

@@ -75,7 +75,7 @@ update-proto:
7575

7676
.PHONY: create-release-packages
7777
create-release-packages: release
78-
if [ "v$(PACKAGE_NAME)" != "conmonrs-$(CI_TAG)" ]; then \
78+
if [ "$(PACKAGE_NAME)" != "conmonrs-$(CI_TAG)" ]; then \
7979
echo "crate version and tag mismatch" ; \
8080
exit 1 ; \
8181
fi

0 commit comments

Comments
 (0)