Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.86 KB

RELEASE.md

File metadata and controls

68 lines (49 loc) · 1.86 KB

Release

How to release podpac

  1. Ensure your master branch is synced to upstream:
$ git pull upstream master
  1. Update version.py MAJOR, MINOR, and HOTFIX to the right semantic version

  2. Run unit tests for python 2 and python 3 environments

# python 3 (assumes conda environment is named `podpac`)
$ source activate podpac
$ pytest podpac             

# python 2 (assumes conda environment is named `podpac27`)
$ source activate podpac27
$ pytest podpac
  1. Review the CHANGELOG and update
- <prefix>: <short description> ([<github issue>](https://github.com/creare-com/podpac/issues/<issue#>))
  1. On the master branch, Tag the release:
$ git tag -a X.Y.Z -m 'X.Y.Z'
  1. Push your changes to master:
$ git push upstream master
$ git push upstream --tags
  1. Build source and binary wheels for pypi:
$ git clean -xdf  # this deletes all uncommited changes!
$ python setup.py bdist_wheel sdist
  1. Upload package to TestPypi. You will need to be listed as a package owner at https://pypi.python.org/pypi/podpac for this to work.
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/podpac-X.Y.Z*
  1. Use twine to register and upload the release on pypi. Be careful, you can't take this back! You will need to be listed as a package owner at https://pypi.python.org/pypi/podpac for this to work.
$ twine upload dist/podpac-X.Y.Z*
  1. Tag the master branch of creare-com/podpac-examples with the same semantic version.

  2. Issue the release announcement (tbd)