Changeset - 8b3c91575b79
[Not reviewed]
default
0 2 0
Branko Majic (branko) - 6 years ago 2017-12-20 14:57:06
branko@majic.rs
Noticket: Fixed a couple of instructions for the release procedure.
2 files changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/releasenotes.rst
Show inline comments
 
@@ -6,24 +6,29 @@
 
   Unported License. To view a copy of this license, visit
 
   http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
 
   Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
 

	
 

	
 
Release Notes
 
=============
 

	
 

	
 
dev
 
---
 

	
 
Bug-fixes:
 

	
 
* Fixed minor issues in the release procedure documentation.
 
  [NO TICKET]
 

	
 

	
 
0.3.0
 
-----
 

	
 
Breaking changes:
 

	
 
* Package now has hard dependency on more specific versions of
 
  requirements in order to ensure it is not used with incompatible
 
  variants (for example, Django has been fixated to version
 
  1.5.x). This could cause some issues if application is used with
 
  newer Django versions etc.
 
  [ `CONNT-28 <https://projects.majic.rs/conntrackt/issues/CONNT-28>`_ ]
docs/releaseprocedures.rst
Show inline comments
 
@@ -227,25 +227,25 @@ 6. Verify release behaves as expected:
 
   5. Correct any outstanding issues prior to proceeding further, and
 
      repeat the test cycle for any sort of change, ammending the
 
      previous commit if possible (instead of creating new ones).
 

	
 
7. Push release to PyPI:
 

	
 
   1. Tag the release::
 

	
 
        hg tag "$VERSION"
 

	
 
   2. Push the (tested) built source distribution::
 

	
 
        python setup.py upload
 
        python setup.py sdist upload
 

	
 
8. Clean-up the maintenance branch:
 

	
 
   1. Start a new release notes section in ``docs/releasenotes.rst``::
 

	
 
        sed -i "/^Release Notes$/{N;s/$/\n\n\n${BRANCH}-maint\n-----------/}" docs/releasenotes.rst
 

	
 
   2. Update versioning information in documentation and setup
 
      script::
 

	
 
        sed -i -e "s/^version = .*/version = '${BRANCH}-maint'/" docs/conf.py
 
        sed -i -e "s/^    version=.*/    version='${BRANCH}-maint',/" setup.py
 
@@ -289,25 +289,24 @@ 9. Clean-up the default branch if you ha
 
   6. Show differences before committing::
 

	
 
        hg diff
 

	
 
   7. Commit the changes::
 

	
 
        hg commit -m "$ISSUE: Starting new release notes in default development branch."
 

	
 
10. Wrap-up changes on external services:
 

	
 
    1. Push the changes to upstream repository and its mirror::
 

	
 
         hg push
 
         hg push bitbucket
 
         hg push --new-branch && hg push bitbucket --new-branch
 

	
 
    2. Go to `Read the Docs administrative pages
 
       <https://readthedocs.org/projects/django-conntrackt/>`_, and
 
       add the build for new version, retiring any unsupported
 
       versions along the way.
 

	
 
    3. Mark issue as resolved in the issue tracker.
 

	
 
    4. Release the version via release center in the issue tracker.
 

	
 
    5. Archive all other releases.
0 comments (0 inline, 0 general)