1.0.0
init
command, the version will be set to 0.0.0
by default. You can use init --wizard
to be asked what version you'd like to use, among other questions.box.json
and you can check it at any time by runningpackage version
command like so:2.3.7
to be 2.3.8
.0
. For example, this would change 2.3.7
to be 2.4.0
.0
. For example, this would change 2.3.7
to be 3.0.0
.Info Each part of the version doesn't have to be one digit. For instance, 1.0.9 patch-bumps to 1.0.10 and doesn't ever "roll over".
package version
command (aliased as bump
), if you are running the command in a Git repository and the working directory is clean, CommandBox will create a tag for you that's named after the version and commit it. You can supply a custom message if you like each time or set a global setting with your desired tag message.