Parity with unity builder image version regex (#267)

This commit is contained in:
Andrew Kahr
2024-05-07 11:08:32 +01:00
committed by GitHub
parent fea469be8c
commit 5817131b76
4 changed files with 16 additions and 13 deletions

2
dist/index.js generated vendored
View File

@@ -415,7 +415,7 @@ class ImageTag {
this.imageRollingVersion = Number(containerRegistryImageVersion);
}
static get versionPattern() {
return /^20\d{2}\.\d\.\w{3,4}|3$/;
return /^\d+\.\d+\.\d+[a-z]\d+$/;
}
static get targetPlatformSuffixes() {
return {