This is going to be a relatively wide ranging issue on the topic of the canary command.
- There isn't any documentation on the
Canary command. I had to figure it out for myself after noticing it mentioned once in the docs.
- The bump algorithm on canary works a bit weirdly? My packages were on version
0.1.5 and I created a minor change. Running bump locally increased the version to 0.2.0 as expected. However, if I undo those changes and instead run canary I get 0.2.1-pr30.0 (where I'm using the PR number from bitbucket). This doesn't seem right, why am I bumping an extra patch version above where I should be?
- It might be slightly related to the undocumented nature of the command, but as the bump is not committed back to git, how does
canary know to go from .0 to .1 the next time a version is pushed?
I'm might be willing to look into this and submit a PR, but before I do I'd like my assumptions cleared up, just in case I'm barking up the wrong tree.
This is going to be a relatively wide ranging issue on the topic of the
canarycommand.Canarycommand. I had to figure it out for myself after noticing it mentioned once in the docs.0.1.5and I created a minor change. Runningbumplocally increased the version to0.2.0as expected. However, if I undo those changes and instead runcanaryI get0.2.1-pr30.0(where I'm using the PR number from bitbucket). This doesn't seem right, why am I bumping an extra patch version above where I should be?canaryknow to go from.0to.1the next time a version is pushed?I'm might be willing to look into this and submit a PR, but before I do I'd like my assumptions cleared up, just in case I'm barking up the wrong tree.