This command reads commits from git repository and create semantic versioning git tags based on commits messages markups. This command works as described bellow:
The first time it'll take the HEAD commit and put as v0.0.0 so we recommend running the semver bump on the initial commit.
Now any further run of this command xablau will look for the following markups on commits messages:
up:major - Upgrades a major version
up:minor - Upgrades a minor version
up:patch - Upgrades a patch version
You can have multiple commits with markups and when you run the semver bump xablau will upgrade and create the tags according to each specified version upgrade level.
Parameters
--disable-push, -d - By default xablau will push the tags to remote, you can specify this flag to disable this behavior.
--remote [remote], -r - When xablau is pushing the tags to remote the default remote used is origin you can change the remote name using this parameter.