Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.47 KB

Auto tagging for release

Usage: $ ./tool/release/release.sh [patch|minor|major]

Example 1: releasing patch will update from 2.1.1 to 2.1.2

run $ ./tool/release/release.sh patch

Example 2: releasing minor will update from 2.1.1 to 2.2.0

run $ ./tool/release/release.sh minor

Example 3: releasing major will update from 2.1.1 to 3.0.0

run $ ./tool/release/release.sh major

In the release.sh

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.

Next step

CI will automatically detect the update in master and build and release conda packages.