diff --git a/.idea/electron-builder.iml b/.idea/electron-builder.iml
index 383bc5b8228..cdea3c1d2d5 100644
--- a/.idea/electron-builder.iml
+++ b/.idea/electron-builder.iml
@@ -25,6 +25,7 @@
"undefined"
\| "undefined"
\| "undefined"
\| "undefined"
| The provider. |
+| **provider**| "github"
\| "bintray"
\| "s3"
\| "generic"
| The provider. |
| owner| String
\| null
| The owner. |
diff --git a/docs/api/electron-builder-core.md b/docs/api/electron-builder-core.md
index 3ead0c50059..67cbdc95005 100644
--- a/docs/api/electron-builder-core.md
+++ b/docs/api/electron-builder-core.md
@@ -8,7 +8,7 @@
* [`.TargetConfig`](#TargetConfig)
* [`.TargetSpecificOptions`](#TargetSpecificOptions)
* [.Platform](#Platform)
- * [`.createTarget(type, archs)`](#module_electron-builder-core.Platform+createTarget) ⇒ Map<[Platform](#Platform) \| Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>>
+ * [`.createTarget(type, archs)`](#module_electron-builder-core.Platform+createTarget) ⇒ Map<[Platform](#Platform) \| Map<[Arch](#Arch) \| Array<String>>>
* [`.current()`](#module_electron-builder-core.Platform+current) ⇒ [Platform](#Platform)
* [`.fromString(name)`](#module_electron-builder-core.Platform+fromString) ⇒ [Platform](#Platform)
* [`.toString()`](#module_electron-builder-core.Platform+toString) ⇒ String
@@ -16,9 +16,9 @@
* [`.build(appOutDir, arch)`](#module_electron-builder-core.Target+build) ⇒ Promise<any>
* [`.finishBuild()`](#module_electron-builder-core.Target+finishBuild) ⇒ Promise<any>
* [`.Arch`](#Arch) : enum
- * [`.archFromString(name)`](#module_electron-builder-core.archFromString) ⇒ "undefined"
\| "undefined"
\| "undefined"
+ * [`.archFromString(name)`](#module_electron-builder-core.archFromString) ⇒ [Arch](#Arch)
* [`.getArchSuffix(arch)`](#module_electron-builder-core.getArchSuffix) ⇒ String
- * [`.toLinuxArchString(arch)`](#module_electron-builder-core.toLinuxArchString) ⇒ "undefined"
\| "undefined"
\| "undefined"
+ * [`.toLinuxArchString(arch)`](#module_electron-builder-core.toLinuxArchString) ⇒ "armv7l"
\| "i386"
\| "amd64"
@@ -55,7 +55,7 @@
| Name | Type | Description |
| --- | --- | --- |
| **target**| String
| The target name. e.g. `snap`. |
-| arch| Array<"undefined" \| "undefined" \| "undefined">
\| String
| The arch or list of archs. |
+| arch| Array<"x64" \| "ia32" \| "armv7l">
\| String
| The arch or list of archs. |
@@ -83,20 +83,20 @@
* [.Platform](#Platform)
- * [`.createTarget(type, archs)`](#module_electron-builder-core.Platform+createTarget) ⇒ Map<[Platform](#Platform) \| Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>>
+ * [`.createTarget(type, archs)`](#module_electron-builder-core.Platform+createTarget) ⇒ Map<[Platform](#Platform) \| Map<[Arch](#Arch) \| Array<String>>>
* [`.current()`](#module_electron-builder-core.Platform+current) ⇒ [Platform](#Platform)
* [`.fromString(name)`](#module_electron-builder-core.Platform+fromString) ⇒ [Platform](#Platform)
* [`.toString()`](#module_electron-builder-core.Platform+toString) ⇒ String
-#### `platform.createTarget(type, archs)` ⇒ Map<[Platform](#Platform) \| Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>>
+#### `platform.createTarget(type, archs)` ⇒ Map<[Platform](#Platform) \| Map<[Arch](#Arch) \| Array<String>>>
**Kind**: instance method of [Platform
](#Platform)
| Param | Type |
| --- | --- |
| type | String
\| Array<String>
\| null
|
-| archs | Array<"undefined" \| "undefined" \| "undefined">
|
+| archs | Array<[Arch](#Arch)>
|
@@ -139,7 +139,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](#Arch)
|
@@ -159,7 +159,7 @@
-### `electron-builder-core.archFromString(name)` ⇒ "undefined"
\| "undefined"
\| "undefined"
+### `electron-builder-core.archFromString(name)` ⇒ [Arch](#Arch)
**Kind**: method of [electron-builder-core
](#module_electron-builder-core)
| Param | Type |
@@ -173,14 +173,14 @@
| Param | Type |
| --- | --- |
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](#Arch)
|
-### `electron-builder-core.toLinuxArchString(arch)` ⇒ "undefined"
\| "undefined"
\| "undefined"
+### `electron-builder-core.toLinuxArchString(arch)` ⇒ "armv7l"
\| "i386"
\| "amd64"
**Kind**: method of [electron-builder-core
](#module_electron-builder-core)
| Param | Type |
| --- | --- |
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](#Arch)
|
diff --git a/docs/api/electron-builder-util.md b/docs/api/electron-builder-util.md
index 23ca3fbdb58..85390f97d3f 100644
--- a/docs/api/electron-builder-util.md
+++ b/docs/api/electron-builder-util.md
@@ -406,7 +406,7 @@ ensureDir is not called, dest parent dir must exists
* [`.getTempName(prefix)`](#module_electron-builder-util.getTempName) ⇒ String
* [`.handleProcess(event, childProcess, command, resolve, reject)`](#module_electron-builder-util.handleProcess)
* [`.isEmptyOrSpaces(s)`](#module_electron-builder-util.isEmptyOrSpaces) ⇒ Boolean
- * [`.isPullRequest()`](#module_electron-builder-util.isPullRequest) ⇒ "undefined"
\| "undefined"
\| "undefined"
+ * [`.isPullRequest()`](#module_electron-builder-util.isPullRequest) ⇒ "undefined"
\| "undefined"
\| ""
* [`.prepareArgs(args, exePath)`](#module_electron-builder-util.prepareArgs) ⇒ Array<String>
* [`.removePassword(input)`](#module_electron-builder-util.removePassword) ⇒ String
* [`.replaceDefault(inList, defaultList)`](#module_electron-builder-util.replaceDefault) ⇒ Array<String>
@@ -572,7 +572,7 @@ ensureDir is not called, dest parent dir must exists
-### `electron-builder-util.isPullRequest()` ⇒ "undefined"
\| "undefined"
\| "undefined"
+### `electron-builder-util.isPullRequest()` ⇒ "undefined"
\| "undefined"
\| ""
**Kind**: method of [electron-builder-util
](#module_electron-builder-util)
diff --git a/docs/api/electron-builder.md b/docs/api/electron-builder.md
index c7b08fce289..5e3151e4121 100644
--- a/docs/api/electron-builder.md
+++ b/docs/api/electron-builder.md
@@ -8,16 +8,12 @@
Promise<Array<String>>
* [`.buildForge(forgeOptions, options)`](#module_electron-builder.buildForge) ⇒ Promise<Array<String>>
- * [`.createTargets(platforms, type, arch)`](#module_electron-builder.createTargets) ⇒ Map<[Platform](electron-builder-core#Platform) \| Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>>
+ * [`.createTargets(platforms, type, arch)`](#module_electron-builder.createTargets) ⇒ Map<[Platform](electron-builder-core#Platform) \| Map<[Arch](electron-builder-core#Arch) \| Array<String>>>
@@ -89,7 +85,7 @@
| **appOutDir**| String
|
| **packager**| [PlatformPackager](#PlatformPackager)<any>
|
| **electronPlatformName**| String
|
-| **arch**| "undefined"
\| "undefined"
\| "undefined"
|
+| **arch**| [Arch](electron-builder-core#Arch)
|
| **targets**| Array<[Target](electron-builder-core#Target)>
|
@@ -102,7 +98,7 @@
| --- | --- |
| **packager**| [PlatformPackager](#PlatformPackager)<any>
|
| target| [Target](electron-builder-core#Target)
\| null
|
-| arch| "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch| [Arch](electron-builder-core#Arch)
\| null
|
| file| String
|
| data| Buffer
|
| safeArtifactName| String
|
@@ -332,7 +328,7 @@
-### `electron-builder.createTargets(platforms, type, arch)` ⇒ Map<[Platform](electron-builder-core#Platform) \| Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>>
+### `electron-builder.createTargets(platforms, type, arch)` ⇒ Map<[Platform](electron-builder-core#Platform) \| Map<[Arch](electron-builder-core#Arch) \| Array<String>>>
**Kind**: method of [electron-builder
](Options#module_electron-builder)
| Param | Type |
@@ -373,9 +369,6 @@
#### `appInfo.computePackageUrl()` ⇒ Promise< \| String>
**Kind**: instance method of [AppInfo
](#AppInfo)
-
-
-## electron-builder/out/builder
## electron-builder/out/codeSign
@@ -445,7 +438,7 @@
| Param | Type |
| --- | --- |
-| certType | "undefined"
\| "undefined"
\| "undefined"
\| "undefined"
\| "undefined"
|
+| certType | "Developer ID Application"
\| "Developer ID Installer"
\| "3rd Party Mac Developer Application"
\| "3rd Party Mac Developer Installer"
\| "Mac Developer"
|
| qualifier | String
\| null
|
| keychain | String
\| null
|
@@ -535,7 +528,7 @@
| Param | Type |
| --- | --- |
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| skipArchIfX64 | |
@@ -556,7 +549,7 @@
| --- | --- |
| file | String
|
| target | [Target](electron-builder-core#Target)
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| safeArtifactName | String
|
@@ -586,7 +579,7 @@
| --- | --- |
| targetSpecificOptions | [TargetSpecificOptions](electron-builder-core#TargetSpecificOptions)
\| undefined
\| null
|
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
| skipArchIfX64 | |
@@ -609,7 +602,7 @@
| Param | Type |
| --- | --- |
| ext | String
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| deployment | Boolean
|
| classifier | String
\| null
|
@@ -645,7 +638,7 @@
| Param | Type |
| --- | --- |
| outDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| targets | Array<[Target](electron-builder-core#Target)>
|
| postAsyncTasks | Array<Promise<any>>
|
@@ -778,7 +771,7 @@
| Param | Type |
| --- | --- |
| outDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| targets | Array<[Target](electron-builder-core#Target)>
|
| postAsyncTasks | Array<Promise<any>>
|
@@ -790,7 +783,7 @@
| Param | Type |
| --- | --- |
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| skipArchIfX64 | |
@@ -811,7 +804,7 @@
| --- | --- |
| file | String
|
| target | [Target](electron-builder-core#Target)
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| safeArtifactName | String
|
@@ -823,7 +816,7 @@
| --- | --- |
| targetSpecificOptions | [TargetSpecificOptions](electron-builder-core#TargetSpecificOptions)
\| undefined
\| null
|
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
| skipArchIfX64 | |
@@ -846,7 +839,7 @@
| Param | Type |
| --- | --- |
| ext | String
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| deployment | Boolean
|
| classifier | String
\| null
|
@@ -898,34 +891,6 @@
| --- | --- |
| suffix | String
|
-
-
-## electron-builder/out/packager/mac
-
-* [electron-builder/out/packager/mac](#module_electron-builder/out/packager/mac)
- * [`.createApp(packager, appOutDir, asarIntegrity)`](#module_electron-builder/out/packager/mac.createApp) ⇒ Promise<void>
- * [`.filterCFBundleIdentifier(identifier)`](#module_electron-builder/out/packager/mac.filterCFBundleIdentifier) ⇒ String
-
-
-
-### `electron-builder/out/packager/mac.createApp(packager, appOutDir, asarIntegrity)` ⇒ Promise<void>
-**Kind**: method of [electron-builder/out/packager/mac
](#module_electron-builder/out/packager/mac)
-
-| Param | Type |
-| --- | --- |
-| packager | [PlatformPackager](#PlatformPackager)<any>
|
-| appOutDir | String
|
-| asarIntegrity | module:asar-integrity.AsarIntegrity
|
-
-
-
-### `electron-builder/out/packager/mac.filterCFBundleIdentifier(identifier)` ⇒ String
-**Kind**: method of [electron-builder/out/packager/mac
](#module_electron-builder/out/packager/mac)
-
-| Param | Type |
-| --- | --- |
-| identifier | String
|
-
## electron-builder/out/packager
@@ -980,9 +945,9 @@
| appInfo| [AppInfo](#AppInfo)
|
| **defaultTarget**| Array<String>
|
| **relativeBuildResourcesDirname**| String
|
-| **electronDistMacOsAppName**| "undefined"
\| "undefined"
|
-| **electronDistExecutableName**| "undefined"
\| "undefined"
|
-| **electronDistMacOsExecutableName**| "undefined"
\| "undefined"
|
+| **electronDistMacOsAppName**| "Electron.app"
\| "Brave.app"
|
+| **electronDistExecutableName**| "electron"
\| "brave"
|
+| **electronDistMacOsExecutableName**| "Electron"
\| "Brave"
|
| **fileAssociations**| Array<[FileAssociation](Options#FileAssociation)>
|
| **forceCodeSigning**| Boolean
|
@@ -1013,7 +978,7 @@
| Param | Type |
| --- | --- |
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| skipArchIfX64 | |
@@ -1045,7 +1010,7 @@
| --- | --- |
| file | String
|
| target | [Target](electron-builder-core#Target)
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| safeArtifactName | String
|
@@ -1075,7 +1040,7 @@
| --- | --- |
| targetSpecificOptions | [TargetSpecificOptions](electron-builder-core#TargetSpecificOptions)
\| undefined
\| null
|
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
| skipArchIfX64 | |
@@ -1098,7 +1063,7 @@
| Param | Type |
| --- | --- |
| ext | String
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| deployment | Boolean
|
| classifier | String
\| null
|
@@ -1134,7 +1099,7 @@
| Param | Type |
| --- | --- |
| outDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| targets | Array<[Target](electron-builder-core#Target)>
|
| postAsyncTasks | Array<Promise<any>>
|
@@ -1245,7 +1210,7 @@
| --- | --- |
| packager | [PlatformPackager](#PlatformPackager)<any>
|
| targetSpecificOptions | [PlatformSpecificBuildOptions](#PlatformSpecificBuildOptions)
\| null
\| undefined
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
@@ -1256,7 +1221,7 @@
| --- | --- |
| packager | [PlatformPackager](#PlatformPackager)<any>
|
| publishConfigs | Array<[PublishConfiguration](Publishing-Artifacts#PublishConfiguration)>
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
@@ -1285,7 +1250,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1315,7 +1280,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1353,7 +1318,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1391,7 +1356,7 @@
| Param | Type |
| --- | --- |
| appPath | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1444,7 +1409,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1524,7 +1489,7 @@
| Param | Type |
| --- | --- |
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| target | [NsisTarget](#NsisTarget)
|
@@ -1552,7 +1517,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1586,7 +1551,7 @@
| Param | Type |
| --- | --- |
| appPath | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1625,7 +1590,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1634,7 +1599,7 @@
* [electron-builder/out/targets/targetFactory](#module_electron-builder/out/targets/targetFactory)
* [.NoOpTarget](#NoOpTarget) ⇐ [Target](electron-builder-core#Target)
* [`.build(appOutDir, arch)`](#module_electron-builder/out/targets/targetFactory.NoOpTarget+build) ⇒ Promise<any>
- * [`.computeArchToTargetNamesMap(raw, options, platform)`](#module_electron-builder/out/targets/targetFactory.computeArchToTargetNamesMap) ⇒ Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>
+ * [`.computeArchToTargetNamesMap(raw, options, platform)`](#module_electron-builder/out/targets/targetFactory.computeArchToTargetNamesMap) ⇒ Map<[Arch](electron-builder-core#Arch) \| Array<String>>
* [`.createCommonTarget(target, outDir, packager)`](#module_electron-builder/out/targets/targetFactory.createCommonTarget) ⇒ [Target](electron-builder-core#Target)
* [`.createTargets(nameToTarget, rawList, outDir, packager, cleanupTasks)`](#module_electron-builder/out/targets/targetFactory.createTargets) ⇒ Array<[Target](electron-builder-core#Target)>
@@ -1658,16 +1623,16 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
-### `electron-builder/out/targets/targetFactory.computeArchToTargetNamesMap(raw, options, platform)` ⇒ Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>
+### `electron-builder/out/targets/targetFactory.computeArchToTargetNamesMap(raw, options, platform)` ⇒ Map<[Arch](electron-builder-core#Arch) \| Array<String>>
**Kind**: method of [electron-builder/out/targets/targetFactory
](#module_electron-builder/out/targets/targetFactory)
| Param | Type |
| --- | --- |
-| raw | Map<"undefined" \| "undefined" \| "undefined" \| Array<String>>
|
+| raw | Map<[Arch](electron-builder-core#Arch) \| Array<String>>
|
| options | [PlatformSpecificBuildOptions](#PlatformSpecificBuildOptions)
|
| platform | [Platform](electron-builder-core#Platform)
|
@@ -1728,7 +1693,7 @@
| Param | Type |
| --- | --- |
| appOutDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
@@ -1973,7 +1938,7 @@
| Param | Type |
| --- | --- |
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| skipArchIfX64 | |
@@ -1994,7 +1959,7 @@
| --- | --- |
| file | String
|
| target | [Target](electron-builder-core#Target)
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| safeArtifactName | String
|
@@ -2024,7 +1989,7 @@
| --- | --- |
| targetSpecificOptions | [TargetSpecificOptions](electron-builder-core#TargetSpecificOptions)
\| undefined
\| null
|
| ext | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
| skipArchIfX64 | |
@@ -2047,7 +2012,7 @@
| Param | Type |
| --- | --- |
| ext | String
\| null
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| deployment | Boolean
|
| classifier | String
\| null
|
@@ -2079,7 +2044,7 @@
| Param | Type |
| --- | --- |
| outDir | String
|
-| arch | "undefined"
\| "undefined"
\| "undefined"
|
+| arch | [Arch](electron-builder-core#Arch)
|
| targets | Array<[Target](electron-builder-core#Target)>
|
| postAsyncTasks | Array<Promise<any>>
|
diff --git a/docs/api/electron-publish.md b/docs/api/electron-publish.md
index dd564625e58..5808021d74e 100644
--- a/docs/api/electron-publish.md
+++ b/docs/api/electron-publish.md
@@ -33,7 +33,7 @@
| Name | Type |
| --- | --- |
-| providerName = Bintray
| "undefined"
|
+| providerName = Bintray
| "Bintray"
|
* [.BintrayPublisher](#BintrayPublisher) ⇐ [HttpPublisher](#HttpPublisher)
@@ -108,7 +108,7 @@
| Name | Type |
| --- | --- |
-| providerName = GitHub
| "undefined"
|
+| providerName = GitHub
| "GitHub"
|
* [.GitHubPublisher](#GitHubPublisher) ⇐ [HttpPublisher](#HttpPublisher)
@@ -310,7 +310,7 @@ A ratio of 0.5 will attempt to set the progress to halfway.
| Name | Type |
| --- | --- |
-| publish| "undefined"
\| "undefined"
\| "undefined"
\| "undefined"
\| null
|
+| publish| "onTag"
\| "onTagOrDraft"
\| "always"
\| "never"
\| null
|
| draft| Boolean
|
| prerelease| Boolean
|
diff --git a/package.json b/package.json
index 1c3b0a381c1..685d90674d8 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,7 @@
"ajv": "^5.1.5",
"ajv-keywords": "^2.1.0",
"archiver": "^1.3.0",
- "aws-sdk": "^2.68.0",
+ "aws-sdk": "^2.69.0",
"bluebird-lst": "^1.0.2",
"chalk": "^1.1.3",
"chromium-pickle-js": "^0.2.0",
@@ -40,7 +40,7 @@
"electron-download-tf": "4.3.1",
"electron-is-dev": "^0.1.2",
"electron-osx-sign": "0.4.6",
- "fcopy-pre-bundled": "0.2.0",
+ "fcopy-pre-bundled": "0.3.1",
"fs-extra-p": "^4.3.0",
"hosted-git-info": "^2.4.2",
"ini": "^1.3.4",
@@ -58,7 +58,7 @@
"sanitize-filename": "^1.6.1",
"semver": "^5.3.0",
"stat-mode": "^0.2.2",
- "ts-jsdoc": "^1.3.1",
+ "ts-jsdoc": "^2.0.0",
"tunnel-agent": "^0.6.0",
"update-notifier": "^2.2.0",
"uuid-1345": "^0.99.6",
diff --git a/packages/electron-builder-util/package.json b/packages/electron-builder-util/package.json
index dc40ac5db1e..00df3ab48f0 100644
--- a/packages/electron-builder-util/package.json
+++ b/packages/electron-builder-util/package.json
@@ -12,7 +12,7 @@
],
"dependencies": {
"fs-extra-p": "^4.3.0",
- "fcopy-pre-bundled": "0.2.0",
+ "fcopy-pre-bundled": "0.3.1",
"is-ci": "^1.0.10",
"stat-mode": "^0.2.2",
"bluebird-lst": "^1.0.2",
diff --git a/packages/electron-builder/src/builder.ts b/packages/electron-builder/src/builder.ts
index d3ec1a7f98e..684d4f4dd31 100644
--- a/packages/electron-builder/src/builder.ts
+++ b/packages/electron-builder/src/builder.ts
@@ -31,7 +31,10 @@ export interface CliOptions extends PackagerOptions, PublishOptions {
project?: string
}
-/** @private */
+/**
+ * @private
+ * @internal
+ */
export function normalizeOptions(args: CliOptions): BuildOptions {
if (args.targets != null) {
return args
@@ -215,7 +218,10 @@ export async function build(rawOptions?: CliOptions): Promise