diff --git a/dist/index.js b/dist/index.js index 725b48af..28975040 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index a0bd37ea..42829bab 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/image-tag.ts b/src/model/image-tag.ts index 48814e14..c0a47ddb 100644 --- a/src/model/image-tag.ts +++ b/src/model/image-tag.ts @@ -136,6 +136,10 @@ class ImageTag { case Platform.types.XboxOne: return windows; case Platform.types.tvOS: + if (process.platform !== 'win32' && process.platform !== 'darwin') { + throw new Error(`tvOS can only be built on Windows or macOS base OS`); + } + return tvos; case Platform.types.Switch: return windows;