Version
Version
Returns the version number in the V<Major>.<Minor>.<Bugfix>.<Number> format. Version information is based on the latest repository tag and the branch name
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
MajorVersionNumber
Returns just the Major version number
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
MinorVersionNumber
Returns just the Minor version number
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
BugFixVersionNumber
Returns just the BugFix version number
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
IsReleaseCandidate
Returns true if the branch is a release candidate branch (release/*)
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
IsReleaseBranch
Returns true if this is the main branch, false otherwise
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
IsHotFix
Returns true if this is a hotfix branch, false otherwise
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
BranchName
Returns the branch name from the repository
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |
Tag
returns the latest tag from the repository
Usage:
Options:
Name | Description | Default |
---|---|---|
workspace | Full path workspace | None |