Electron-builder: GitHubPublisher does not work with releaseType=release

Created on 16 Dec 2017  ·  10Comments  ·  Source: electron-userland/electron-builder

Using packageType=release for GitHubPublisher seem to be not working and latest* files for electron-updater are not getting uploaded.

Debugging through the code it looks like GitHubPublisher is getting instantiated twice, and the second time around info is missing releaseType=release which is causing the conflict. Using the deprecated --prerelease false --draft false command line options this does not happen.

electron-builder 19.49.0
No native production dependencies
Packaging for darwin x64 using electron 1.7.9 to dist/mac
Signing app (identity: B8D7F12C26390E7F3A1AD613A5CC18270D505DFC Developer ID Application: Lutz Roeder (W72HKFW6P5))
Building DMG
Building macOS zip
No native production dependencies
Packaging for linux x64 using electron 1.7.9 to dist/linux-unpacked
Building AppImage for arch x64
No native production dependencies
Packaging for win32 x64 using electron 1.7.9 to dist/win-unpacked
Publishing to Github (owner: lutzroeder, project: netron, version: 1.1.2)
Building deb
Release with tag 1.1.2 doesn't exist, creating one
[====================] 100% 0.0s | Netron-1.1.2-x86_64.AppImage to GitHub
[====================] 100% 0.0s | Netron-1.1.2.dmg to GitHub
Building nsis installer (x64)
[====================] 100% 0.0s | Netron-Setup-1.1.2.exe to GitHub
[====================] 100% 0.0s | Netron_1.1.2_amd64.deb to GitHub
[====================] 100% 0.0s | Netron-1.1.2-mac.zip to GitHub
Publishing to Github (owner: lutzroeder, project: netron, version: 1.1.2)
⚠️  Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️  Artifact latest-mac.json is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️  Artifact latest-mac.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️  Artifact latest.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️  Artifact latest-linux.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
bug deployment help wanted

Most helpful comment

@f-r00t not really - if you specify releaseType=release (see title of this issue and docs) electron-builder will publish to existing "release" tag. Working setup: https://github.com/artemv/mts-detalization-parser. There

  • a tag is created by semantic-release
  • then linux binaries are added to that tag by electron-builder
  • then windows binaries are added to that tag by electron-builder

All 10 comments

@develar, any ideas?

@develar Actually I have the exact same problem.

Please set env DEBUG=electron-builder and attach log of the terminal output.

@develar

I'm on the same situation.
I'd like to attach the log. I home it helps.

env DEBUG=electron-builder GH_TOKEN=**************************************** npm run release

> [email protected] release /Volumes/<VolumeName>/atom_projects/tacalexport/electron
> build -mw

  • electron-builder version=20.13.3
  • loaded configuration file=package.json ("build" field)
  • effective config config=
                       directories:
                         output: ../dist
                         buildResources: build
                       appId: com.kent-and-co.tacalexporter
                       mac:
                         target: zip
                         icon: build/icon.icns
                       win:
                         target: nsis
                         icon: build/icon.ico
                       publish:
                         - provider: github
                           releaseType: release
                           owner: sasagar
                           publishAutoUpdate: 'true'
                       electronVersion: 2.0.0

  • writing effective config file=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/electron-builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=darwin arch=x64 electron=2.0.0 appOutDir=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/mac
  • executing       file=unzip args=-oqq -d /Volumes/<VolumeName>/atom_projects/tacalexport/dist/mac /Users/kiyoshi/Library/Caches/electron/electron-v2.0.0-darwin-x64.zip
  • executed        file=unzip
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder icon --format icns --root /Volumes/<VolumeName>/atom_projects/tacalexport/electron/build --root /Volumes/<VolumeName>/atom_projects/tacalexport/electron --out /Volumes/<VolumeName>/atom_projects/tacalexport/dist/.icon-icns --input build/icon.icns --input icon.icns --input icon.png --input icons
  • path doesn't exist        path=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/build/icon.icns
  • path resolved             outputFormat=icns path=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.icns
  • exited          command=app-builder code=0 pid=3186 out={"icons":[{"file":"/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.icns","size":0}]}
  • calling getInfo reason=owner or project is not specified explicitly provider=github owner=sasagar project=undefined
  • executing       file=security args=find-identity -v
  • executing       file=security args=find-identity -v -p codesigning
  • executed        file=security stdout=
                        1) **************************************** "3rd Party Mac Developer Application: Kiyoshi Sasagawa (**********)"
                        2) **************************************** "Mac Developer: Kiyoshi Sasagawa (**********)"
                        3) **************************************** "Developer ID Application: Kiyoshi Sasagawa (**********)"
                           3 valid identities found

  • executed        file=security stdout=
                        1) **************************************** "com.apple.idms.appleid.prd.56774a506e594a4a41456f65323537674464615a********"
                        2) **************************************** "3rd Party Mac Developer Installer: Kiyoshi Sasagawa (**********)"
                        3) **************************************** "Developer ID Installer: Kiyoshi Sasagawa (**********)"
                        4) **************************************** "3rd Party Mac Developer Application: Kiyoshi Sasagawa (**********)"
                        5) **************************************** "Mac Developer: Kiyoshi Sasagawa (**********)"
                        6) **************************************** "Developer ID Application: Kiyoshi Sasagawa (**********)"
                        7) **************************************** "com.apple.idms.appleid.prd.001007-05-35410224-c1e8-42cb-bfae-************"
                           7 valid identities found

  • signing         file=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/mac/TAcalExporter.app identityName=Developer ID Application: Kiyoshi Sasagawa (**********) identityHash=996A8F8D1D2F054BA29E4C592D24380950BE576C provisioningProfile=none
  • building        target=macOS zip arch=x64 file=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-mac.zip
  • executing       file=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/7zip-bin-mac/7za args=a -bd -mx=9 -mtc=off -mm=Deflate -mcu /Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-mac.zip TAcalExporter.app cwd=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/mac
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=2.0.0 appOutDir=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/win-unpacked
  • executing       file=unzip args=-oqq -d /Volumes/<VolumeName>/atom_projects/tacalexport/dist/win-unpacked /Users/kiyoshi/Library/Caches/electron/electron-v2.0.0-win32-x64.zip
  • executed        file=unzip
  • calling getInfo reason=owner or project is not specified explicitly provider=github owner=sasagar project=undefined
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder icon --format ico --root /Volumes/<VolumeName>/atom_projects/tacalexport/electron/build --root /Volumes/<VolumeName>/atom_projects/tacalexport/electron --out /Volumes/<VolumeName>/atom_projects/tacalexport/dist/.icon-ico --input build/icon.ico --input icon.ico --input icon.png --input icons --input icon.icns
  • path doesn't exist        path=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/build/icon.ico
  • path resolved             outputFormat=ico path=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico
  • exited          command=app-builder code=0 pid=3305 out={"icons":[{"file":"/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico","size":0}]}
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder download-artifact --url https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.0.0/winCodeSign-2.0.0.7z --name winCodeSign-2.0.0 --sha512 QT51iAVlWZlKeip3FPc8FHG/HKhCdWR/Wg+cevhrKHQ1d/oHl49EqXgeztO//DrdyN1X+GCvglaHifXnWR5VXQ==
  • found existing            path=/Users/kiyoshi/Library/Caches/electron-builder/winCodeSign/winCodeSign-2.0.0
  • exited          command=app-builder code=0 pid=3306 out=/Users/kiyoshi/Library/Caches/electron-builder/winCodeSign/winCodeSign-2.0.0
  • macOS version   version=10.13.4
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder download-artifact --url https://github.com/electron-userland/electron-builder-binaries/releases/download/wine-2.0.3-mac-10.13/wine-2.0.3-mac-10.13.7z --name wine-2.0.3-mac-10.13 --sha512 dlEVCf0YKP5IEiOKPNE48Q8NKXbXVdhuaI9hG2oyDEay2c+93PE5qls7XUbIYq4Xi1gRK8fkWeCtzN2oLpVQtg==
  • found existing            path=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13
  • exited          command=app-builder code=0 pid=3307 out=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13
  • executing       file=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine args=/Users/kiyoshi/Library/Caches/electron-builder/winCodeSign/winCodeSign-2.0.0/rcedit-ia32.exe /Volumes/<VolumeName>/atom_projects/tacalexport/dist/win-unpacked/TAcalExporter.exe --set-version-string FileDescription TAcalExporter --set-version-string ProductName TAcalExporter --set-version-string LegalCopyright Copyright © 2018 SASAGAWA, Kiyoshi --set-file-version 4.0.2 --set-product-version 4.0.2.0 --set-version-string InternalName TAcalExporter --set-version-string OriginalFilename  --set-version-string CompanyName SASAGAWA, Kiyoshi --set-icon /Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico env=
                      {
                        "WINEDEBUG": "-all,err+all",
                        "WINEDLLOVERRIDES": "winemenubuilder.exe=d",
                        "WINEPREFIX": "/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/wine-home",
                        "DYLD_FALLBACK_LIBRARY_PATH": "/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/lib"
                      }
  • executed        file=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine stderr=
                      winedevice.exe(3318,0xba927000) malloc: *** error for object 0x40402492: pointer being freed was not allocated
                      *** set a breakpoint in malloc_error_break to debug

wine&sign: 10s 570ms
  • building        target=nsis file=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe archs=x64 oneClick=true
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder download-artifact --url https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.3.0/nsis-3.0.3.0.7z --name nsis-3.0.3.0 --sha512 3cZfTAEgX/iatMcjmh4c8ZSwhO76Oqpneb4UPzT+uWxsAfZdUgSuls3WXwOtb9oY+wqSvY7+WRvO8944RSTUcg==
  • found existing            path=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-3.0.3.0
  • exited          command=app-builder code=0 pid=3323 out=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-3.0.3.0
  • executing       file=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/7zip-bin-mac/7za args=a -bd -mx=9 -md=1m -mtc=off -ms=off -mtm=off -mta=off /Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-x64.nsis.7z . -xr!*.avi -xr!*.mov -xr!*.m4v -xr!*.mp4 -xr!*.m4p -xr!*.qt -xr!*.mkv -xr!*.webm -xr!*.vmdk cwd=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/win-unpacked
nsis package, x64: 47s 791ms
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder download-artifact --url https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.3.0/nsis-resources-3.3.0.7z --name nsis-resources-3.3.0 --sha512 4okc98BD0v9xDcSjhPVhAkBMqos+FvD/5/H72fTTIwoHTuWd2WdD7r+1j72hxd+ZXxq1y3FRW0x6Z3jR0VfpMw==
  • found existing            path=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-resources-3.3.0
  • exited          command=app-builder code=0 pid=3328 out=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-resources-3.3.0
  • spawning        command=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-3.0.3.0/mac/makensis -WX -DAPP_ID=com.kent-and-co.tacalexporter -DAPP_GUID=3516a596-5215-5838-95c7-6137ec5eaa25 -DPRODUCT_NAME=TAcalExporter -DPRODUCT_FILENAME=TAcalExporter -DAPP_FILENAME=TAcalExporter -DAPP_DESCRIPTION=TechAcademy用メンタースケジュール登録アプリ -DVERSION=4.0.2 -DPROJECT_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron -DBUILD_RESOURCES_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build -DMUI_ICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico -DMUI_UNICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico -DAPP_64=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-x64.nsis.7z -DAPP_64_NAME=TAcalExporter-4.0.2-x64.nsis.7z -DAPP_64_HASH=14263FDB70EE87BC8E1333AB536DB529DA95BCA70CE01AA95D173170207697E6292F754C24B7DED2B8DEDFFB997E38509498E150C97935E7A2460B55028C3FBF -DCOMPANY_NAME=SASAGAWA, Kiyoshi -DAPP_INSTALLER_STORE_FILE=TAcalExporter\installer.exe -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=TAcalExporter -DUNINSTALL_DISPLAY_NAME=TAcalExporter 4.0.2 -DCOMPRESS=auto -DBUILD_UNINSTALLER -DUNINSTALLER_OUT_FILE=Z:\Volumes\<VolumeName>\atom_projects\tacalexport\dist\.__uninstaller-nsis-TAcalExporter.exe -XOutFile "/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe" -XVIProductVersion 4.0.2.0 -XVIAddVersionKey /LANG=1033 ProductName "TAcalExporter" -XVIAddVersionKey /LANG=1033 ProductVersion "4.0.2" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2018 SASAGAWA, Kiyoshi" -XVIAddVersionKey /LANG=1033 FileDescription "TechAcademy用メンタースケジュール登録アプリ" -XVIAddVersionKey /LANG=1033 FileVersion "4.0.2" -XVIAddVersionKey /LANG=1033 CompanyName "SASAGAWA, Kiyoshi" -XUnicode true -XSetCompressor zlib - cwd=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/electron-builder-lib/templates/nsis
Command line defined: "APP_ID=com.kent-and-co.tacalexporter"
Command line defined: "APP_GUID=3516a596-5215-5838-95c7-6137ec5eaa25"
Command line defined: "PRODUCT_NAME=TAcalExporter"
Command line defined: "PRODUCT_FILENAME=TAcalExporter"
Command line defined: "APP_FILENAME=TAcalExporter"
Command line defined: "APP_DESCRIPTION=TechAcademy用メンタースケジュール登録アプリ"
Command line defined: "VERSION=4.0.2"
Command line defined: "PROJECT_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron"
Command line defined: "BUILD_RESOURCES_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build"
Command line defined: "MUI_ICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico"
Command line defined: "MUI_UNICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico"
Command line defined: "APP_64=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-x64.nsis.7z"
Command line defined: "APP_64_NAME=TAcalExporter-4.0.2-x64.nsis.7z"
Command line defined: "APP_64_HASH=14263FDB70EE87BC8E1333AB536DB529DA95BCA70CE01AA95D173170207697E6292F754C24B7DED2B8DEDFFB997E38509498E150C97935E7A2460B55028C3FBF"
Command line defined: "COMPANY_NAME=SASAGAWA, Kiyoshi"
Command line defined: "APP_INSTALLER_STORE_FILE=TAcalExporter\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "SHORTCUT_NAME=TAcalExporter"
Command line defined: "UNINSTALL_DISPLAY_NAME=TAcalExporter 4.0.2"
Command line defined: "COMPRESS=auto"
Command line defined: "BUILD_UNINSTALLER"
Command line defined: "UNINSTALLER_OUT_FILE=Z:\Volumes\<VolumeName>\atom_projects\tacalexport\dist\.__uninstaller-nsis-TAcalExporter.exe"
Processing script file: "<stdin>" (UTF8)

Processed 1 file, 10 command line commands, writing output (x86-unicode):

Output: "/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe"
Install: 1 page (64 bytes), 1 section (32792 bytes), 44 instructions (1232 bytes), 3079 strings (27000 bytes), 24 language tables (4656 bytes).
Uninstall: 1 page (128 bytes), 1 section (32792 bytes), 565 instructions (15820 bytes), 4697 strings (47244 bytes), 24 language tables (5904 bytes).

Using zlib compression.

EXE header size:               93696 / 39424 bytes
Install code:                  10661 / 49800 bytes
Install data:                      0 / 8 bytes
Uninstall code+data:          108389 / 121151 bytes
CRC (0xB439055E):                  4 / 4 bytes

Total size:                   212750 / 210387 bytes (101.1%)
  • exited          command=makensis code=0 pid=3329
  • executing       file=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine args=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe env=
                      {
                        "WINEDEBUG": "-all,err+all",
                        "WINEDLLOVERRIDES": "winemenubuilder.exe=d",
                        "WINEPREFIX": "/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/wine-home",
                        "DYLD_FALLBACK_LIBRARY_PATH": "/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/lib"
                      }
  • executed        file=/Users/kiyoshi/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine stderr=
                      winedevice.exe(3342,0xba927000) malloc: *** error for object 0x40300ea2: pointer being freed was not allocated
                      *** set a breakpoint in malloc_error_break to debug

  • spawning        command=/Users/kiyoshi/Library/Caches/electron-builder/nsis/nsis-3.0.3.0/mac/makensis -WX -DAPP_ID=com.kent-and-co.tacalexporter -DAPP_GUID=3516a596-5215-5838-95c7-6137ec5eaa25 -DPRODUCT_NAME=TAcalExporter -DPRODUCT_FILENAME=TAcalExporter -DAPP_FILENAME=TAcalExporter -DAPP_DESCRIPTION=TechAcademy用メンタースケジュール登録アプリ -DVERSION=4.0.2 -DPROJECT_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron -DBUILD_RESOURCES_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build -DMUI_ICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico -DMUI_UNICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico -DAPP_64=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-x64.nsis.7z -DAPP_64_NAME=TAcalExporter-4.0.2-x64.nsis.7z -DAPP_64_HASH=14263FDB70EE87BC8E1333AB536DB529DA95BCA70CE01AA95D173170207697E6292F754C24B7DED2B8DEDFFB997E38509498E150C97935E7A2460B55028C3FBF -DCOMPANY_NAME=SASAGAWA, Kiyoshi -DAPP_INSTALLER_STORE_FILE=TAcalExporter\installer.exe -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=TAcalExporter -DUNINSTALL_DISPLAY_NAME=TAcalExporter 4.0.2 -DCOMPRESS=auto -DUNINSTALLER_OUT_FILE=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/.__uninstaller-nsis-TAcalExporter.exe -XOutFile "/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe" -XVIProductVersion 4.0.2.0 -XVIAddVersionKey /LANG=1033 ProductName "TAcalExporter" -XVIAddVersionKey /LANG=1033 ProductVersion "4.0.2" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2018 SASAGAWA, Kiyoshi" -XVIAddVersionKey /LANG=1033 FileDescription "TechAcademy用メンタースケジュール登録アプリ" -XVIAddVersionKey /LANG=1033 FileVersion "4.0.2" -XVIAddVersionKey /LANG=1033 CompanyName "SASAGAWA, Kiyoshi" -XUnicode true -XSetCompressor zlib - cwd=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/electron-builder-lib/templates/nsis
Command line defined: "APP_ID=com.kent-and-co.tacalexporter"
Command line defined: "APP_GUID=3516a596-5215-5838-95c7-6137ec5eaa25"
Command line defined: "PRODUCT_NAME=TAcalExporter"
Command line defined: "PRODUCT_FILENAME=TAcalExporter"
Command line defined: "APP_FILENAME=TAcalExporter"
Command line defined: "APP_DESCRIPTION=TechAcademy用メンタースケジュール登録アプリ"
Command line defined: "VERSION=4.0.2"
Command line defined: "PROJECT_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron"
Command line defined: "BUILD_RESOURCES_DIR=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build"
Command line defined: "MUI_ICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico"
Command line defined: "MUI_UNICON=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/build/icon.ico"
Command line defined: "APP_64=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter-4.0.2-x64.nsis.7z"
Command line defined: "APP_64_NAME=TAcalExporter-4.0.2-x64.nsis.7z"
Command line defined: "APP_64_HASH=14263FDB70EE87BC8E1333AB536DB529DA95BCA70CE01AA95D173170207697E6292F754C24B7DED2B8DEDFFB997E38509498E150C97935E7A2460B55028C3FBF"
Command line defined: "COMPANY_NAME=SASAGAWA, Kiyoshi"
Command line defined: "APP_INSTALLER_STORE_FILE=TAcalExporter\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "SHORTCUT_NAME=TAcalExporter"
Command line defined: "UNINSTALL_DISPLAY_NAME=TAcalExporter 4.0.2"
Command line defined: "COMPRESS=auto"
Command line defined: "UNINSTALLER_OUT_FILE=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/.__uninstaller-nsis-TAcalExporter.exe"
Processing script file: "<stdin>" (UTF8)

Processed 1 file, 10 command line commands, writing output (x86-unicode):

Output: "/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe"
Install: 1 page (64 bytes), 1 section (32792 bytes), 927 instructions (25956 bytes), 5569 strings (52008 bytes), 24 language tables (5904 bytes).

Using zlib compression.

EXE header size:               93696 / 39424 bytes
Install code:                  22282 / 100780 bytes
Install data:               40973629 / 41261411 bytes
CRC (0x3F46C1AE):                  4 / 4 bytes

Total size:                 41089611 / 41401619 bytes (99.2%)
  • exited          command=makensis code=0 pid=3352
  • building block map blockMapFile=/Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe.blockmap
  • spawning        command=/Volumes/<VolumeName>/atom_projects/tacalexport/electron/node_modules/app-builder-bin-mac/app-builder blockmap --input /Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe --output /Volumes/<VolumeName>/atom_projects/tacalexport/dist/TAcalExporter Setup 4.0.2.exe.blockmap
  • exited          command=app-builder code=0 pid=3354 out={"size":41089611,"sha512":"oqdbiABwjUI0b1xqykUp5PdmuuG59isHsvUOuzOudPiHausbGsiXjpH2AwH9vPi8jCcBTYS3AyvtcB+d5JjFcw=="}
  • calling getInfo reason=owner or project is not specified explicitly provider=github owner=sasagar project=undefined
  • calling getInfo reason=owner or project is not specified explicitly provider=github owner=sasagar project=undefined
  • publishing      publisher=Github (owner: sasagar, project: tacalexporter, version: 4.0.2)
  • uploading       file=TAcalExporter-Setup-4.0.2.exe.blockmap provider=GitHub
  electron-builder Request: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +0ms
  • uploading       file=TAcalExporter-Setup-4.0.2.exe provider=GitHub
  electron-builder Response: 200 OK, request options: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +832ms
  • creating GitHub release reason=release doesn't exist tag=v4.0.2 version=4.0.2
  electron-builder Request: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache",
  electron-builder     "Content-Type": "application/json",
  electron-builder     "Content-Length": 69
  electron-builder   },
  electron-builder   "method": "post"
  electron-builder } +364ms
  electron-builder Response: 201 Created, request options: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache",
  electron-builder     "Content-Type": "application/json",
  electron-builder     "Content-Length": 69
  electron-builder   },
  electron-builder   "method": "post"
  electron-builder } +603ms
  electron-builder Request: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache",
  electron-builder     "Content-Type": "application/json",
  electron-builder     "Content-Length": 69
  electron-builder   },
  electron-builder   "method": "post",
  electron-builder   "protocol": "https:"
  electron-builder } +0ms
  electron-builder Response: 200 OK, request options: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache",
  electron-builder     "Content-Type": "application/json",
  electron-builder     "Content-Length": 69
  electron-builder   },
  electron-builder   "method": "post",
  electron-builder   "protocol": "https:"
  electron-builder } +500ms
  electron-builder Request: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-Setup-4.0.2.exe.blockmap",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/octet-stream",
  electron-builder     "Content-Length": 44033,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +6ms
  electron-builder Request: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-Setup-4.0.2.exe",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/octet-stream",
  electron-builder     "Content-Length": 41089611,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +2ms
    [                    ] 1% 169.4s | TAcalExporter-Setup-4.0.2.exe to GitHub  electron-builder Response: 201 Created, request options: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-Setup-4.0.2.exe.blockmap",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/octet-stream",
  electron-builder     "Content-Length": 44033,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +2s
    [====================] 100% 0.0s | TAcalExporter-Setup-4.0.2.exe to GitHub
  electron-builder Response: 201 Created, request options: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-Setup-4.0.2.exe",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/octet-stream",
  electron-builder     "Content-Length": 41089611,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +13s
  • calling getInfo reason=owner or project is not specified explicitly provider=github owner=sasagar project=undefined
  • uploading       file=TAcalExporter-4.0.2-mac.zip provider=GitHub
  electron-builder Request: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-4.0.2-mac.zip",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/zip",
  electron-builder     "Content-Length": 57452356,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +16s
    [                    ] 0% 0.0s | TAcalExporter-4.0.2-mac.zip to GitHub  • publishing      publisher=Github (owner: sasagar, project: tacalexporter, version: 4.0.2)
  • uploading       file=latest-mac.json provider=GitHub
  electron-builder Request: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +371ms
  electron-builder Response: 200 OK, request options: {
  electron-builder   "hostname": "api.github.com",
  electron-builder   "port": null,
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +586ms
    [                    ] 1% 119.5s | TAcalExporter-4.0.2-mac.zip to GitHub  • GitHub release not created reason=existing type not compatible with publishing type tag=v4.0.2 version=4.0.2 existingType=release publishingType=draft
  • skipped publishing file=latest-mac.json reason=existing type not compatible with publishing type tag=v4.0.2 version=4.0.2 existingType=release publishingType=draft
    [====================] 100% 0.0s | TAcalExporter-4.0.2-mac.zip to GitHub
  electron-builder Response: 201 Created, request options: {
  electron-builder   "hostname": "uploads.github.com",
  electron-builder   "path": "/repos/sasagar/tacalexporter/releases/10925242/assets?name=TAcalExporter-4.0.2-mac.zip",
  electron-builder   "method": "POST",
  electron-builder   "headers": {
  electron-builder     "Accept": "application/vnd.github.v3+json",
  electron-builder     "Content-Type": "application/zip",
  electron-builder     "Content-Length": 57452356,
  electron-builder     "authorization": "<stripped sensitive data>",
  electron-builder     "User-Agent": "electron-builder",
  electron-builder     "Cache-Control": "no-cache"
  electron-builder   }
  electron-builder } +27s
  • skipped publishing file=latest.yml reason=existing type not compatible with publishing type tag=v4.0.2 version=4.0.2 existingType=release publishingType=draft
  • skipped publishing file=latest-mac.yml reason=existing type not compatible with publishing type tag=v4.0.2 version=4.0.2 existingType=release publishingType=draft

Same problem here, latest-*.yml are not uploaded. Neither .zip files are.

I'm having the same problem.

Same problem here still.

Make sure there is not already a published Release for the version your trying to publish. It needs to be either non-existant or a draft.

@f-r00t not really - if you specify releaseType=release (see title of this issue and docs) electron-builder will publish to existing "release" tag. Working setup: https://github.com/artemv/mts-detalization-parser. There

  • a tag is created by semantic-release
  • then linux binaries are added to that tag by electron-builder
  • then windows binaries are added to that tag by electron-builder

Make sure there is not already a published Release for the version your trying to publish. It needs to be either non-existant or a draft.

Can confirm—I have Ubuntu build artifact intermittently failing to be attached to release. Apparently in some cases the “force release” flag does not reach electron-builder so it expects to see a draft.

Was this page helpful?
0 / 5 - 0 ratings