v0.14.1
0.14.1 (2020-01-22)
Bug Fixes
- clean up all cases for releaseType (#631) (89e5d73)
- pass releaseTag to afterPublish hook (#632) (6b5febb)
releaseType
The following shows how releaseType
is determined.
normal cases
1.2.3
->2.0.0
:major
1.2.3
->1.3.0
:minor
1.2.3
->1.2.4
:patch
next version has a tag
1.2.3
->1.2.4-alpha.0
:prerelease
1.2.4-alpha.0
->1.2.4-alpha.1
:prerelease
version with a tag -> version without one
1.2.4-alpha.0
->1.2.4
:patch
1.2.4-alpha.0
->1.2.5
:patch
1.2.4-alpha.0
->1.3.0
:minor
1.2.4-alpha.0
->2.0.0
:major
1.3.0-alpha.0
->1.3.0
:minor
Just like normal cases, the new version decides thereleaseType
.