mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-13 17:33:54 -07:00
Hotfix: Fix version checking in image-tag (#640)
* Update version check regex and fix tests
This commit is contained in:
+1
-1
@@ -6521,7 +6521,7 @@ class ImageTag {
|
||||
this.imageRollingVersion = Number(containerRegistryImageVersion); // Will automatically roll to the latest non-breaking version.
|
||||
}
|
||||
static get versionPattern() {
|
||||
return /^(20\d{2}\.\d\.\w{3,4}|3)$/;
|
||||
return /^\d+\.\d+\.\d+[a-z]\d+$/;
|
||||
}
|
||||
static get targetPlatformSuffixes() {
|
||||
return {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user