Skip to content
P. L. Lim edited this page Apr 10, 2020 · 14 revisions

Where to release

  • GitHub
  • PyPI
  • astroconda
  • Zenodo

How to release

  1. pip install pep517 --upgrade
  2. Grab latest code from master
  3. Grab all the tags from this repo
  4. Make sure you are on the branch that you intend to release from
  5. Check git status (must be clean) and git log (must contain correct history)
  6. git clean -xdf
  7. git tag -s "X.Y.Z" -m "Tagging version X.Y.Z" (replace X.Y.Z with real version number)
  8. git checkout X.Y.Z
  9. umask 0022
  10. chmod -R a+Xr .
  11. python -m pep517.build --source .
  12. git push <remote> X.Y.Z (replace <remote> with remote name that points to this repo)
  13. gpg --detach-sign -a dist/*.tar.gz (requires GPG to be set up)
  14. twine check dist/*
  15. twine upload dist/*.tar.gz* (requires write access to PyPI package area)
  16. Upload dist/*.tar.gz to Zenodo (requires write access to Zenodo page)
  17. Edit release tag on GitHub to add change log
  18. Open a PR on astroconda/astroconda-contrib to update recipe
  19. Check https://readthedocs.org/projects/acstools/builds/

Lack of milestone

This is a low-traffic package. Therefore, there is no milestone being used to track GitHub PRs. A release is made when ACS Team wants it and whether it is a major/minor/bugfix depends on what went in since the last release.

Clone this wiki locally