Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 387 Bytes
clean:
@find . -name "*.pyc" -delete
release:
@sed -ic -e s/`cat VERSION`/$(version)/ setup.py bootstrap_admin/__init__.py
@echo $(version) > VERSION
@git add setup.py VERSION bootstrap_admin/__init__.py
@git commit -m "setup: bump to $(version)"
@git tag $(version)
@git push --tags
@git push origin master
@make clean
@python setup.py sdist bdist_wheel
@twine upload dist/*