Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.01 KB

RELEASE.rst

File metadata and controls

27 lines (20 loc) · 1.01 KB

Releasing

Steps to release a new version

  • 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

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/^/- /'