Make sure hatch is installed when verifying tag
This commit is contained in:
parent
3eb5fb3d75
commit
f0ab45f0c6
2
Makefile
2
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
|
# Verify that the python version matches the git tag so we don't push bad shas
|
||||||
.PHONY: verify-tag-version
|
.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))
|
$(eval TAG_NAME = $(shell [ -n "$(DRONE_TAG)" ] && echo $(DRONE_TAG) || git describe --tags --exact-match))
|
||||||
test "v$(shell $(ENV)/bin/hatch version)" = "$(TAG_NAME)"
|
test "v$(shell $(ENV)/bin/hatch version)" = "$(TAG_NAME)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user