-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Options:
{
"scheme": "custom",
"schemeDefinition": "major.minor.build[-commithash]"
"rules": [
{
"trigger": "commit",
"branch":"develop"
"bump": "commithash",
"type": "hash", // type hash sets the value to the complete commit hash
}, {
"trigger":"commit",
"branch": "beta"
"bump": "commit-hash",
"type": "minhash", // minified hash
}, {
"trigger": "commit",
"branch": "master",
"bump": "build",
"reset": "commithash",
// no need for "type" as default type is number
}
]
}
}
Example: if merge commit has hash: 7da9a258c94f9b8aca53feddbc216f1391a87ff5 and short-hash 7da9a25 we could get 1.12.2-7da9a25 as a version on the beta branch
Metadata
Metadata
Assignees
Labels
No labels