function getVersionsFromBackportConfig()

in fix-version-gaps/fixGaps.js [22:32]


function getVersionsFromBackportConfig(config) {
    const highestVersions = [];
    for (const label in config.branchLabelMapping) {
        const matches = label.match(/^\^v([0-9.]+)\$$/);
        if (matches) {
            const version = matches[1];
            highestVersions.push(version);
        }
    }
    return highestVersions;
}