Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 801 Bytes

release.rst

File metadata and controls

47 lines (29 loc) · 801 Bytes

Topology Release

How to make a Topology release?

  1. Edit version:

    nano lib/topology/__init__.py
    
  2. Update changelog in README.rst:

    git log
    nano README.rst
    
  3. Commit, tag:

    git commit -a
        chg: dev: Bumping version number to x.y.z.
    git tag x.y.z
    
  4. Build wheel package:

    tox -e build
    
  5. Push new revision and tag:

    git push
    git push origin x.y.z
    
  6. Upload to PyPI:

    twine upload --repository hpepypi --skip-existing dist/*
    

You need to have an entry in ~/.pypirc:

[distutils]
index-servers =
    hpepypi

[hpepypi]
repository = https://upload.pypi.org/legacy/
username = hpe-networking
password = *******
  1. Add entry in GitHub releases:

    https://github.com/HPENetworking/topology/releases