Make sure hatch is installed when verifying tag
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing

This commit is contained in:
IamTheFij 2023-10-27 15:41:30 -07:00
parent 3eb5fb3d75
commit f0ab45f0c6

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