Make sure hatch is installed when verifying tag
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
IamTheFij 2023-10-27 15:41:30 -07:00
parent 3eb5fb3d75
commit f0ab45f0c6
1 changed files with 1 additions and 1 deletions

View File

@ -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)"