Configure versions
Configure versions.
New in
v0.153.0This is the default configuration:
versions:
v1.0.0:
weight: 0
[versions]
[versions.'v1.0.0']
weight = 0
{
"versions": {
"v1.0.0": {
"weight": 0
}
}
}
To define “v1.0.0” and “v2.0.0” versions:
versions:
v1.0.0:
weight: 0
v2.0.0:
weight: 0
[versions]
[versions.'v1.0.0']
weight = 0
[versions.'v2.0.0']
weight = 0
{
"versions": {
"v1.0.0": {
"weight": 0
},
"v2.0.0": {
"weight": 0
}
}
}
Versions are sorted by their weight in ascending order, then by their semantic version in descending order. This affects build order and complement selection.
