semver-cli
semver-cli copied to clipboard
semver init v1.0.0-beta.23
$ semver init v1.0.0-beta.23
$ cat .semver.yaml
alpha: 0
beta: 0
rc: 0
release: v1.0.0
I think that beta is not taken into account
The behavior of the init command is a bit different. To initialize the version v1.0.0-beta.23 you should run the following command instead:
semver init --release v1.0.0 --beta 23
I appreciate your attempt to start the version passing directly and I plan to adopt it as an improvement.