File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,13 @@ 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__) ")
39+ _install_e :
40+ python -m pip install -q -e .
4041
41- tag : # # Make a git tag with the version number.
42- git tag -s -m " Version v$( VERSION) " v$(VERSION )
43- git push --all
42+ tag : _install_e # # Make a git tag with the version number.
43+ @export VER=" $$ (python -c " import django_coverage_plugin as me; print(me.__version__)" )" && \
44+ echo git tag -s -m " Version v$$ VER" v$$ VER
45+ echo git push --all
4446
4547ghrelease : # # Make a GitHub release for the latest version.
4648 python -m scriv github-release
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ classifiers = [
3636requires-python = " >= 3.9"
3737dependencies = [
3838 " coverage" ,
39+ " Django" ,
3940]
4041dynamic = [" version" ]
4142
Original file line number Diff line number Diff line change 1- # To run tests, we just need tox.
2- tox >= 1.8
1+ # To run tests, we just need tox:
2+ tox
3+
4+ # For releases:
35build
46scriv
57twine
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