- Change version in troposphere/__init__.py
- Update CHANGELOG.md with changes made since last release
- Verify release installs on Python2 and Python 3:
make release-test
- Create a signed tag:
git tag --sign -m "Release 1.1.1" 1.1.1
- Build the distribution: python setup.py sdist
- Use twine to check the release: twine check $(ls -t dist/troposphere*.gz | head -1)
- Upload using twine: twine upload -s $(ls -t dist/troposphere*.gz | head -1)
- 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/^/- /'