mirror of
https://github.com/django/daphne.git
synced 2024-12-01 03:43:43 +03:00
17 lines
327 B
Makefile
17 lines
327 B
Makefile
.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
|
|
#python setup.py sdist bdist_wheel upload
|