cachecontrol icon indicating copy to clipboard operation
cachecontrol copied to clipboard

Step #1 of release automation: Switch to setuptools_scm instead of bumpversion

Open itamarst opened this issue 4 years ago • 0 comments

This is a prerequisite for doing automatic releases on a GitHub tag.

In particular, instead of using bumpversion, the version is read from the latest Git tag. So to do a new release version, just add another Release in the GitHub UI for releases (a Release is a GitHub thing but it also automatically adds a corresponding tag).

At the moment version is reported as 0.12.7.dev60+g232132 because there is no tag for releases 0.12.7 to 0.12.10, so if you choose to merge this (or probably even if you don't) you should add a tag for 0.12.10 at the very least.

There is also a new RELEASE.md document that documents the release process. A follow up PR will add automation to do the packaging and upload steps automatically.

itamarst avatar Dec 01 '21 13:12 itamarst