mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Fixed issue with containerRegistryImageVersion not allowing dot versions (ie 3.1.0)
This commit is contained in:
parent
c794bde952
commit
4b9e1df58e
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -6,7 +6,7 @@ class ImageTag {
|
|||||||
public targetPlatform: string;
|
public targetPlatform: string;
|
||||||
public builderPlatform: string;
|
public builderPlatform: string;
|
||||||
public customImage: string;
|
public customImage: string;
|
||||||
public imageRollingVersion: number;
|
public imageRollingVersion: string;
|
||||||
public imagePlatformPrefix: string;
|
public imagePlatformPrefix: string;
|
||||||
|
|
||||||
constructor(imageProperties: { [key: string]: string }) {
|
constructor(imageProperties: { [key: string]: string }) {
|
||||||
@ -38,7 +38,7 @@ class ImageTag {
|
|||||||
providerStrategy,
|
providerStrategy,
|
||||||
);
|
);
|
||||||
this.imagePlatformPrefix = ImageTag.getImagePlatformPrefixes(buildPlatform);
|
this.imagePlatformPrefix = ImageTag.getImagePlatformPrefixes(buildPlatform);
|
||||||
this.imageRollingVersion = Number(containerRegistryImageVersion); // Will automatically roll to the latest non-breaking version.
|
this.imageRollingVersion = containerRegistryImageVersion; // Will automatically roll to the latest non-breaking version.
|
||||||
}
|
}
|
||||||
|
|
||||||
static get versionPattern(): RegExp {
|
static get versionPattern(): RegExp {
|
||||||
|
Loading…
Reference in New Issue
Block a user