Added version and tagging policy

This commit is contained in:
Daniel Roy Greenfeld 2015-10-25 09:29:43 -07:00
parent 0351c29295
commit b76f402541
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,9 @@ All enhancements and patches to cookiecutter-django will be documented in this f
This project adheres to [Semantic Versioning](http://semver.org/).
## [2015-10-25]
- Added `setup.py` so we can list it on PyPI and therefore displayed on djangopackages.com as compatible with Python 3.
### Added
- `setup.py` so we can list it on PyPI and therefore displayed on djangopackages.com as compatible with Python 3. (@pydanny)
- Versioning and tagging policy (@pydanny)
## [2015-10-24]
### Changed

View File

@ -9,7 +9,9 @@ try:
except ImportError:
from distutils.core import setup
version = "1.0"
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "1.8.5"
if sys.argv[-1] == 'tag':
os.system("git tag -a %s -m 'version %s'" % (version, version))