- Ensure you have a backup of all working files and then remove files not tracked by git
git clean -xdf. NOTE: this will delete all files in the tuf tree that aren't tracked by git - Ensure
docs/CHANGELOG.mdcontains a one-line summary of each notable change since the prior release - Update
setup.cfgandtuf/__init__.pyto the new version number vA.B.C - Test packaging, uploading to Test PyPI and installing from a virtual environment
(ensure commands invoking
pythonbelow are using Python 3)- Remove existing dist build dirs
- Create source dist and wheel
python3 -m build - Sign the dists
gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz - Upload to test PyPI
twine upload --repository testpypi dist/* - Verify the uploaded package https://testpypi.python.org/pypi/tuf/
- Create a PR with updated
CHANGELOG.mdand version bumps - Once the PR is merged, pull the updated
developbranch locally - Create a signed tag matching the updated version number on the merge commit
git tag --sign vA.B.C -m "vA.B.C"- Push the tag to GitHub
git push origin vA.B.C
- Push the tag to GitHub
- Create a new release on GitHub, copying the
CHANGELOG.mdentries for the release - Create a package for the formal release
(ensure commands invoking
pythonbelow are using Python 3)- Remove existing dist build dirs
- Create source dist and wheel
python3 -m build - Sign source dist
gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz - Sign wheel
gpg --detach-sign -a dist/tuf-vA.B.C-py3-none-any.whl - Upload to test PyPI
twine upload --repository testpypi dist/* - Verify the uploaded package https://testpypi.python.org/pypi/tuf/
- Upload to PyPI
twine upload dist/*
- Attach both signed dists and their detached signatures to the release on GitHub
- Announce the release on #tuf on CNCF Slack
- Ensure POUF 1, for the reference implementation, is up-to-date
Expand file tree
/
Copy pathRELEASE.md
More file actions
/
RELEASE.md
File metadata and controls
34 lines (33 loc) · 2.04 KB
Edit and raw actions