Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.03 KB

RELEASE.rst

File metadata and controls

28 lines (21 loc) · 1.03 KB

Releasing

Steps to release a new version

  • 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

Helper to create CHANGELOG entries

git log --reverse --pretty=format:"%s" | tail -100 | sed 's/^/* /'

Helper to list supported resources

grep -h 'resource_type = "AWS::' troposphere/* | sed 's/[ ]*resource_type = "'// | cut -f1-3 -d: | sort | uniq | sed 's/^/- /'