Back to Magic Wormhole

How to Prepare a Release

docs/how-to-release.rst

0.23.0978 B
Original Source

How to Prepare a Release

  • export MAINTAINER=[email protected]

  • create a branch: git checkout main ; git pull ; git checkout -b prepare-release

  • Re-export completions: make completions ; git add wormhole_complete.* ; git commit -m “completions” (this step requires installed bash, zsh, and fish)

  • Update NEWS.md

  • copy-edit

  • add missing credits

  • change title for "Upcoming Release" to correct version, date

  • make release (this step requires having PySequoia installed, and will OpenPGP sign the package ) then

    • push your branch to the repo!
    • make a pull request to the repo from that branch!
    • wait for CI to finish on your branch!
  • make release-test this will

    • verify your GPG signature (debian cares, PyPI does not)
    • create a venv and install both packages (source and wheel) in that venv
    • run the tests
  • make release-upload this will

    • git add signatures in ./signatures