diff --git a/makefile b/makefile index 0bdaac5..f45f9cb 100644 --- a/makefile +++ b/makefile @@ -487,16 +487,16 @@ bump_version: ## Create python sdist and bdist_wheel files -.PHONY: build_dists -build_dists: +.PHONY: dist_build +dist_build: $(DEV_ENV_PY) setup.py sdist; $(DEV_ENV_PY) setup.py bdist_wheel --python-tag=$(BDIST_WHEEL_PYTHON_TAG); @rm -rf src/*.egg-info ## Upload sdist and bdist files to pypi -.PHONY: upload_dists -upload_dists: +.PHONY: dist_upload +dist_upload: @if [[ "1" != "1" ]]; then \ echo "FAILSAFE! Not publishing a private package."; \ echo " To avoid this set IS_PUBLIC=1 in bootstrap.sh and run it."; \ @@ -508,9 +508,9 @@ upload_dists: $(DEV_ENV)/bin/twine upload $$($(SDIST_FILE_CMD)) $$($(BDIST_WHEEL_FILE_CMD)); -## bump_version build_dists upload_dists -.PHONY: publish -publish: bump_version build_dists upload_dists +## bump_version dist_build dist_upload +.PHONY: dist_publish +dist_publish: bump_version dist_build dist_upload ## Build docker images. Must be run when dependencies are added