diff --git a/Makefile b/Makefile index fec95e69..dd53f87b 100644 --- a/Makefile +++ b/Makefile @@ -103,9 +103,9 @@ include help.mk # place after ALL target and before all other targets .build-release: windows windows32 linux linux-arm64 darwin darwin-arm64 .validate-release: ALL - @TAG=$$(./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep '($(PROJECT_VERSION))'); \ + @TAG=$$(./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep '(v$(PROJECT_VERSION))'); \ if test -z "$$TAG"; then \ - echo "Build tag from does not match PROJECT_VERSION=$(PROJECT_VERSION) in Makefile:" ; \ + echo "Build tag from does not match PROJECT_VERSION=v$(PROJECT_VERSION) in Makefile:" ; \ ./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep built ; \ exit 1 ; \ fi