From f0ab45f0c656cf514ff7bdb681854fce9319638b Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 27 Oct 2023 15:41:30 -0700 Subject: [PATCH] Make sure hatch is installed when verifying tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5fe6263..60ff765 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ build: $(ENV)/bin/hatch # Verify that the python version matches the git tag so we don't push bad shas .PHONY: verify-tag-version -verify-tag-version: +verify-tag-version: $(ENV)/bin/hatch $(eval TAG_NAME = $(shell [ -n "$(DRONE_TAG)" ] && echo $(DRONE_TAG) || git describe --tags --exact-match)) test "v$(shell $(ENV)/bin/hatch version)" = "$(TAG_NAME)"