mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Added version and tagging policy
This commit is contained in:
parent
0351c29295
commit
b76f402541
|
@ -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/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [2015-10-25]
|
## [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]
|
## [2015-10-24]
|
||||||
### Changed
|
### Changed
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -9,7 +9,9 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup
|
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':
|
if sys.argv[-1] == 'tag':
|
||||||
os.system("git tag -a %s -m 'version %s'" % (version, version))
|
os.system("git tag -a %s -m 'version %s'" % (version, version))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user