Commit 5908de0c authored by Pavel Kuzmenko's avatar Pavel Kuzmenko
Browse files

fix: #4 add build python post version in master branch

parent 5d263a7e
CI_COMMIT_BRANCH ?= 'master'
ifeq ($(CI_COMMIT_BRANCH), 'master')
EGG_INFO = egg_info --tag-date
else
EGG_INFO =
endif
version:
$(eval GIT_TAG ?= $(shell git describe --abbrev=0))
$(eval VERSION ?= $(shell read -p "Version: " VERSION; echo $$VERSION))
......@@ -6,7 +14,7 @@ version:
git tag -a -e -F Changelog-$(VERSION).txt $(VERSION)
build-wheel:
python3 setup.py sdist bdist_wheel
@python3 setup.py $(EGG_INFO) sdist bdist_wheel
publish-wheel:
twine upload dist/*
@twine upload dist/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment