mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
better naming for make targets
This commit is contained in:
parent
4e0b8f073e
commit
3d26d49d4f
1 changed files with 7 additions and 7 deletions
14
makefile
14
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue