- Change version in troposphere/__init__.py
- Change version in docs/conf.py
- Update CHANGELOG.md with changes made since last release
- Verify release installs on Python 3:
make release-test
- Create a signed tag:
git tag --sign -m "Release 1.1.1" 1.1.1
- Build the distribution: python -m build --sdist --wheel .
- Use twine to check the release: twine check dist/troposphere-1.1.1*[.whl,.gz]
- Upload using twine: twine upload -s dist/troposphere-1.1.1*[.whl,.gz]
- Push commits:
git push
- Push tag:
git push --tags
- Update github release page: https://github.com/cloudtools/troposphere/releases
git log --reverse --pretty=format:"%s" | tail -100 | sed 's/^/* /'
grep -h 'resource_type = "AWS::' troposphere/* | sed 's/[ ]*resource_type = "'// | cut -f1-3 -d: | sort | uniq | sed 's/^/- /'