{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/3105","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/3105/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/3105/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/3105/events","html_url":"https://github.com/electron-userland/electron-builder/issues/3105","id":340344772,"node_id":"MDU6SXNzdWUzNDAzNDQ3NzI=","number":3105,"title":"electron-updater fails to get checksum from github","user":{"login":"openbuilds-engineer","id":31449271,"node_id":"MDQ6VXNlcjMxNDQ5Mjcx","avatar_url":"https://avatars0.githubusercontent.com/u/31449271?v=4","gravatar_id":"","url":"https://api.github.com/users/openbuilds-engineer","html_url":"https://github.com/openbuilds-engineer","followers_url":"https://api.github.com/users/openbuilds-engineer/followers","following_url":"https://api.github.com/users/openbuilds-engineer/following{/other_user}","gists_url":"https://api.github.com/users/openbuilds-engineer/gists{/gist_id}","starred_url":"https://api.github.com/users/openbuilds-engineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openbuilds-engineer/subscriptions","organizations_url":"https://api.github.com/users/openbuilds-engineer/orgs","repos_url":"https://api.github.com/users/openbuilds-engineer/repos","events_url":"https://api.github.com/users/openbuilds-engineer/events{/privacy}","received_events_url":"https://api.github.com/users/openbuilds-engineer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-11T17:53:26Z","updated_at":"2018-07-16T13:23:22Z","closed_at":null,"author_association":"NONE","body":"<!-- Which version of electron-builder are you using? -->\r\n<!-- Please always try to use latest version before report. -->\r\n* **Version**: \r\nelectron@1.8.7\r\n<!-- Which version of electron-updater are you using (if applicable)? -->\r\nelectron-updater@2.23.3\r\n\r\n<!-- What target are you building for? -->\r\n* **Target**: \r\nwin64\r\n\r\n<!-- Enter your issue details below this comment. -->\r\nI have an app that I build an publish to github releases\r\nAutoupdater runs and checks: Find the update, but when it has to download it:\r\n```\r\nChecking for update\r\nFound version 1.1.0 (url: )\r\nDownloading update from\r\nError: Error: Update info doesn't contain nor sha256 neither sha512 checksum: {\r\n  \"url\": \"OpenBuildsMachineDriver-Setup-1.1.0.exe\"\r\n}\r\n    at newError (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\builder-util-runtime\\src\\index.ts:29:17)\r\n    at files.map.fileInfo (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\Provider.ts:113:13)\r\n    at Array.map (native)\r\n    at resolveFiles (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\Provider.ts:111:55)\r\n    at GitHubProvider.resolveFiles (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\GitHubProvider.ts:124:12)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\NsisUpdater.ts:24:40\r\nFrom previous event:\r\n    at NsisUpdater.doDownloadUpdate (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\NsisUpdater.ts:22:80)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:365:25\r\nFrom previous event:\r\n    at NsisUpdater.downloadUpdate (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:354:86)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:341:49\r\nFrom previous event:\r\n    at NsisUpdater.doCheckForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:311:34)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:283:25\r\n    at Generator.next (<anonymous>)\r\n    at runCallback (timers.js:781:20)\r\n    at tryOnImmediate (timers.js:743:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:714:5)\r\nFrom previous event:\r\n    at NsisUpdater._checkForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:278:33)\r\n    at NsisUpdater.checkForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:217:35)\r\n    at App.<anonymous> (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\index.js:89:15)\r\n    at emitTwo (events.js:130:20)\r\n    at App.emit (events.js:213:7)\r\nUnhandled rejection Error: Update info doesn't contain nor sha256 neither sha512 checksum: {\r\n  \"url\": \"OpenBuildsMachineDriver-Setup-1.1.0.exe\"\r\n}\r\n    at newError (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\builder-util-runtime\\src\\index.ts:29:17)\r\n    at files.map.fileInfo (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\Provider.ts:113:13)\r\n    at Array.map (native)\r\n    at resolveFiles (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\Provider.ts:111:55)\r\n    at GitHubProvider.resolveFiles (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\GitHubProvider.ts:124:12)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\NsisUpdater.ts:24:40\r\nFrom previous event:\r\n    at NsisUpdater.doDownloadUpdate (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\NsisUpdater.ts:22:80)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:365:25\r\nFrom previous event:\r\n    at NsisUpdater.downloadUpdate (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:354:86)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:341:49\r\nFrom previous event:\r\n    at NsisUpdater.doCheckForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:311:34)\r\n    at C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:283:25\r\n    at Generator.next (<anonymous>)\r\n    at runCallback (timers.js:781:20)\r\n    at tryOnImmediate (timers.js:743:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:714:5)\r\nFrom previous event:\r\n    at NsisUpdater._checkForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:278:33)\r\n    at NsisUpdater.checkForUpdates (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\node_modules\\electron-updater\\src\\AppUpdater.ts:217:35)\r\n    at App.<anonymous> (C:\\OPENBUILDS-ENGINEER\\SW-Machine-Drivers\\index.js:89:15)\r\n    at emitTwo (events.js:130:20)\r\n    at App.emit (events.js:213:7)\r\n\r\n```\r\n\r\n\r\n\r\nHere's the latest.yml from git\r\n```\r\nversion: 1.1.0\r\npath: OpenBuildsMachineDriver-Setup-1.1.0.exe\r\nsha2: 4887fc56080aa8bdb0a74ee01fa76636af9782cae70a033f5fb8e15bbf255873\r\n\r\n```\r\n\r\n<!-- If you want, you can donate to increase issue priority (https://www.electron.build/donate) -->"},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/405245677","html_url":"https://github.com/electron-userland/electron-builder/issues/3105#issuecomment-405245677","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/3105","id":405245677,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTI0NTY3Nw==","user":{"login":"develar","id":350686,"node_id":"MDQ6VXNlcjM1MDY4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/350686?v=4","gravatar_id":"","url":"https://api.github.com/users/develar","html_url":"https://github.com/develar","followers_url":"https://api.github.com/users/develar/followers","following_url":"https://api.github.com/users/develar/following{/other_user}","gists_url":"https://api.github.com/users/develar/gists{/gist_id}","starred_url":"https://api.github.com/users/develar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/develar/subscriptions","organizations_url":"https://api.github.com/users/develar/orgs","repos_url":"https://api.github.com/users/develar/repos","events_url":"https://api.github.com/users/develar/events{/privacy}","received_events_url":"https://api.github.com/users/develar/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T13:23:22Z","updated_at":"2018-07-16T13:23:22Z","author_association":"MEMBER","body":"@openbuilds-engineer electron-builder version?"}}
{"actor":{"display_login":"develar"}}