fix(Image().getVersion()): now returns 0.0.0 for unavailable versions to make SemVer work later on
This commit is contained in:
parent
034fbc3994
commit
d9348bd016
@ -140,7 +140,7 @@ export class DockerImage {
|
|||||||
if (this.Labels && this.Labels.version) {
|
if (this.Labels && this.Labels.version) {
|
||||||
return this.Labels.version;
|
return this.Labels.version;
|
||||||
} else {
|
} else {
|
||||||
return 'x.x.x';
|
return '0.0.0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user