Skip to content

Commit 2e95412

Browse files
committed
build: slightly more modern release processes
1 parent fa583d5 commit 2e95412

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ kit: ## Make the source distribution.
3030
python -m twine check dist/*
3131

3232
kit_upload: ## Upload the built distributions to PyPI.
33-
twine upload --verbose dist/*
33+
python -m twine upload --verbose dist/*
34+
35+
tag: ## Make a git tag with the version number
36+
git tag -a -m "Version v$$(python setup.py --version)" v$$(python setup.py --version)
37+
git push --all

howto.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
- Kits:
1212
$ make clean kit
1313
$ make kit_upload
14-
- tag git
14+
$ make tag
1515
- make a new gh release: https://github.com/nedbat/django_coverage_plugin/releases/new

0 commit comments

Comments
 (0)