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.
36
36
test_pypi : # # Upload the distributions to test PyPI.
37
37
python -m twine upload --verbose --repository testpypi --password $$ TWINE_TEST_PASSWORD dist/*
38
38
39
+ VERSION := $(shell python -c "import django_coverage_plugin as me; print(me.__version__) ")
40
+
39
41
tag : # # 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 )
41
43
git push --all
42
44
43
45
ghrelease : # # 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
3
3
build
4
4
scriv
5
5
twine
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