1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 21:05:30 +03:00

Setup for the cloud build implementation

This commit is contained in:
blckmn 2022-10-30 18:50:53 +11:00
parent a49a6b98ba
commit 6aae795781
10 changed files with 570 additions and 1142 deletions

View file

@ -638,6 +638,12 @@ function notifyOutdatedVersion(releaseData) {
if (result.checkForConfiguratorUnstableVersions) {
showUnstableReleases = true;
}
if (releaseData === undefined) {
console.log('No releaseData');
return false;
}
const versions = releaseData.filter(function (version) {
const semVerVersion = semver.parse(version.tag_name);
if (semVerVersion && (showUnstableReleases || semVerVersion.prerelease.length === 0)) {