diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README.md | 8 |
2 files changed, 15 insertions, 0 deletions
@@ -142,3 +142,10 @@ python: .PHONY: test test: . '$(call escape,$(venv_dir))/bin/activate' && python -m unittest --verbose --buffer + +.PHONY: tag +tag: + . '$(call escape,$(venv_dir))/bin/activate' \ + && pip install -q --upgrade setuptools-scm \ + && version="$$( python -m setuptools_scm --strip-dev )" \ + && git tag "v$$version" @@ -65,6 +65,14 @@ Upgrade virtual environment packages (this will also update requirements.txt): make venv/upgrade +### Releases + +Make a git tag with (requires a virtual environment): + + make tag + +You can now review that it's OK and push w/ `git push --tags`. + ### Linting Requires [Pylint]. |