File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ pypi: ## Upload the built distributions to PyPI.
3636test_pypi : # # Upload the distributions to test PyPI.
3737 python -m twine upload --verbose --repository testpypi --password $$ TWINE_TEST_PASSWORD dist/*
3838
39+ VERSION := $(shell python -c "import django_coverage_plugin as me; print(me.__version__) ")
40+
3941tag : # # Make a git tag with the version number.
40- git tag -s -m " Version v$$ (python -c 'import django_coverage_plugin; print(django_coverage_plugin.__version__)') " v$$( python -c 'import django_coverage_plugin; print(django_coverage_plugin.__version__ ) ' )
42+ git tag -s -m " Version v$( VERSION ) " v$( VERSION )
4143 git push --all
4244
4345ghrelease : # # Make a GitHub release for the latest version.
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ tox >= 1.8
33build
44scriv
55twine
6+
7+ # We need django and coverage to be able to import ourselves to make a tag...
8+ django
9+ coverage
You can’t perform that action at this time.
0 commit comments