Skip to content

Commit ea11aa0

Browse files
committed
Fix venv creation for tag verify
1 parent ecd9af5 commit ea11aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ build: $(ENV)/bin/wheel
4242

4343
# Verify that the python version matches the git tag so we don't push bad shas
4444
.PHONY: verify-tag-version
45-
verify-tag-version:
45+
verify-tag-version: $(ENV)/bin/wheel
4646
$(eval TAG_NAME = $(shell [ -n "$(DRONE_TAG)" ] && echo $(DRONE_TAG) || git describe --tags --exact-match))
47-
test "v$(shell python setup.py -V)" = "$(TAG_NAME)"
47+
test "v$(shell $(ENV)/bin/python setup.py -V)" = "$(TAG_NAME)"
4848

4949
# Uses twine to upload to pypi
5050
.PHONY: upload

0 commit comments

Comments
 (0)