From ebbd913fcbbb82b04d4d2b1f479c34a4a6da843c Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Sat, 16 May 2020 23:50:56 +0200 Subject: [PATCH] change release logic --- shop/__init__.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/shop/__init__.py b/shop/__init__.py index c8c949a46..05986bd19 100644 --- a/shop/__init__.py +++ b/shop/__init__.py @@ -4,14 +4,15 @@ Release logic: 1. Increase version number in __version__ (below) 2. Check that all changes have been documented in docs/changelog.rst - 3. git add shop/__init__.py docs/changelog.rst - 4. git commit -m 'Bump to {new version}' - 5. git push - 6. assure that all tests pass on https://travis-ci.org/awesto/django-shop - 7. git tag {new version} - 8. git push --tags - 8. python setup.py sdist -10. twine upload dist/django-shop-{new version}.tar.gz + 3. In setup.py, assure that `classifiers` and `install_requires` reflect the latest versions. + 4. git add shop/__init__.py docs/changelog.rst setup.py + 5. git commit -m 'Bump to {new version}' + 6. git push + 7. assure that all tests pass on https://travis-ci.org/awesto/django-shop + 8. git tag {new version} + 9. git push --tags +10. python setup.py sdist +11. twine upload dist/django-shop-{new version}.tar.gz """ __version__ = '1.2'