semver-cli icon indicating copy to clipboard operation
semver-cli copied to clipboard

semver init v1.0.0-beta.23

Open remyleone opened this issue 1 year ago • 1 comments

$ 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

remyleone avatar Feb 16 '24 14:02 remyleone

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.

maykonlsf avatar Aug 06 '24 22:08 maykonlsf