$ ./tool/release/release.py [-h] [-y] <type>
[-y]
<type>
Allowed release types are major
, minor
, patch
, rc
, stable
.major
increments major version by 1.minor
increments minor version by 1.patch
increments patch version by 1.rc
increments rc version by 1.stable
removes rc version.run `$ ./tool/release/release.py major`
run `$ ./tool/release/release.py rc`
run `$ ./tool/release/release.py stable`
Internally, the script retrieve latest git tag by git describe
, and increment the version accroding to semantic versioning, then push latest tag to remote master.
CI will automatically detect the update in master and build and release conda packages.