Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 840 Bytes

RELEASING.md

File metadata and controls

37 lines (30 loc) · 840 Bytes
  1. Update the version number
nano shellypython/__init__.py
  1. Generate changelog since the last release
# gem install github_changelog_generator --pre
# export CHANGELOG_GITHUB_TOKEN=token
github_changelog_generator --user marcogazzola --project shelly-python --since-tag 0.0.2 -o newchanges
  1. Copy the changelog block over to CHANGELOG.md.

  2. Commit the changed files

git commit -av
  1. Tag a release (and add short changelog as a tag commit message)
git tag -a 0.0.3 -m "version 0.0.4b0"
  1. Push to git
git push --tags
  1. Upload new version to pypi
python setup.py sdist bdist_wheel
python -m twine upload dist/*
  1. Click the “Draft a new release” button on github, select the new tag and copy & paste the changelog into the description.