daphne/Makefile

17 lines
327 B
Makefile
Raw Permalink Normal View History

2016-06-29 01:27:04 +03:00
.PHONY: release
all:
release:
ifndef version
$(error Please supply a version)
endif
@echo Releasing version $(version)
ifeq (,$(findstring $(version),$(shell git log --oneline -1)))
$(error Last commit does not match version)
endif
git tag $(version)
git push
git push --tags
2018-02-03 23:35:42 +03:00
#python setup.py sdist bdist_wheel upload