diff --git a/electron-builder.yml b/electron-builder.yml index b4fa3ee..45142f8 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -31,12 +31,17 @@ win: target: - nsis - portable - artifactName: ${productName}-${version}-${arch}.${ext} +# The nsis installer and the portable build are both .exe — without distinct +# artifact names they collide on the same file and break release publishing. nsis: oneClick: false perMachine: false allowToChangeInstallationDirectory: true + artifactName: ${productName}-${version}-setup-${arch}.${ext} + +portable: + artifactName: ${productName}-${version}-portable-${arch}.${ext} mac: target: