fix(Image().getVersion()): now returns 0.0.0 for unavailable versions to make SemVer work later on

This commit is contained in:
Philipp Kunz 2019-09-24 20:20:37 +02:00
parent 034fbc3994
commit d9348bd016

View File

@ -140,7 +140,7 @@ export class DockerImage {
if (this.Labels && this.Labels.version) {
return this.Labels.version;
} else {
return 'x.x.x';
return '0.0.0';
}
}
}