instack/HOWTO/Releasing.md

739 B

To do a new build of instack you need to:

  1. Go to your git checkout of instack

  2. Commit any updates, then make an annotated tag, if the previous version was 0.0.2, the new tag would be called 0.0.3.

     git tag -a 0.0.3
    
  3. Push any changes and the tag.

     git push --tags
    
  4. Build an sdist tarball for the release. This command would create instack-0.0.3.tar.gz under the dist directory.

     python setup.py sdist
    
  5. Go to github for instack, https://github.com/rdo-management/instack/releases/

  6. Click Draft a new release

  7. Enter the tag you've created, github should tell you it's an existing tag

  8. Upload the tgz created earlier to the release.

  9. Update the specfile Version in dist-git and rebuild.