{"action":"created","issue":{"url":"https://api.github.com/repos/inexorgame/inexor-core/issues/503","repository_url":"https://api.github.com/repos/inexorgame/inexor-core","labels_url":"https://api.github.com/repos/inexorgame/inexor-core/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/inexorgame/inexor-core/issues/503/comments","events_url":"https://api.github.com/repos/inexorgame/inexor-core/issues/503/events","html_url":"https://github.com/inexorgame/inexor-core/issues/503","id":267473862,"node_id":"MDU6SXNzdWUyNjc0NzM4NjI=","number":503,"title":"Create new release first as a draft, publish when packages uploaded","user":{"login":"Croydon","id":1593194,"node_id":"MDQ6VXNlcjE1OTMxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1593194?v=4","gravatar_id":"","url":"https://api.github.com/users/Croydon","html_url":"https://github.com/Croydon","followers_url":"https://api.github.com/users/Croydon/followers","following_url":"https://api.github.com/users/Croydon/following{/other_user}","gists_url":"https://api.github.com/users/Croydon/gists{/gist_id}","starred_url":"https://api.github.com/users/Croydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Croydon/subscriptions","organizations_url":"https://api.github.com/users/Croydon/orgs","repos_url":"https://api.github.com/users/Croydon/repos","events_url":"https://api.github.com/users/Croydon/events{/privacy}","received_events_url":"https://api.github.com/users/Croydon/received_events","type":"User","site_admin":false},"labels":[{"id":106022530,"node_id":"MDU6TGFiZWwxMDYwMjI1MzA=","url":"https://api.github.com/repos/inexorgame/inexor-core/labels/cat:BUG","name":"cat:BUG","color":"fc2929","default":false},{"id":113318777,"node_id":"MDU6TGFiZWwxMTMzMTg3Nzc=","url":"https://api.github.com/repos/inexorgame/inexor-core/labels/feat:build%20environment","name":"feat:build environment","color":"bfe5bf","default":false},{"id":106022535,"node_id":"MDU6TGFiZWwxMDYwMjI1MzU=","url":"https://api.github.com/repos/inexorgame/inexor-core/labels/org:needs%20validation/discussion/decision","name":"org:needs validation/discussion/decision","color":"fafafa","default":false}],"state":"closed","locked":false,"assignee":{"login":"Croydon","id":1593194,"node_id":"MDQ6VXNlcjE1OTMxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1593194?v=4","gravatar_id":"","url":"https://api.github.com/users/Croydon","html_url":"https://github.com/Croydon","followers_url":"https://api.github.com/users/Croydon/followers","following_url":"https://api.github.com/users/Croydon/following{/other_user}","gists_url":"https://api.github.com/users/Croydon/gists{/gist_id}","starred_url":"https://api.github.com/users/Croydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Croydon/subscriptions","organizations_url":"https://api.github.com/users/Croydon/orgs","repos_url":"https://api.github.com/users/Croydon/repos","events_url":"https://api.github.com/users/Croydon/events{/privacy}","received_events_url":"https://api.github.com/users/Croydon/received_events","type":"User","site_admin":false},"assignees":[{"login":"Croydon","id":1593194,"node_id":"MDQ6VXNlcjE1OTMxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1593194?v=4","gravatar_id":"","url":"https://api.github.com/users/Croydon","html_url":"https://github.com/Croydon","followers_url":"https://api.github.com/users/Croydon/followers","following_url":"https://api.github.com/users/Croydon/following{/other_user}","gists_url":"https://api.github.com/users/Croydon/gists{/gist_id}","starred_url":"https://api.github.com/users/Croydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Croydon/subscriptions","organizations_url":"https://api.github.com/users/Croydon/orgs","repos_url":"https://api.github.com/users/Croydon/repos","events_url":"https://api.github.com/users/Croydon/events{/privacy}","received_events_url":"https://api.github.com/users/Croydon/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inexorgame/inexor-core/milestones/11","html_url":"https://github.com/inexorgame/inexor-core/milestone/11","labels_url":"https://api.github.com/repos/inexorgame/inexor-core/milestones/11/labels","id":1727303,"node_id":"MDk6TWlsZXN0b25lMTcyNzMwMw==","number":11,"title":"0.10.0-alpha - Make development simple and fast","description":"","creator":{"login":"Croydon","id":1593194,"node_id":"MDQ6VXNlcjE1OTMxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1593194?v=4","gravatar_id":"","url":"https://api.github.com/users/Croydon","html_url":"https://github.com/Croydon","followers_url":"https://api.github.com/users/Croydon/followers","following_url":"https://api.github.com/users/Croydon/following{/other_user}","gists_url":"https://api.github.com/users/Croydon/gists{/gist_id}","starred_url":"https://api.github.com/users/Croydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Croydon/subscriptions","organizations_url":"https://api.github.com/users/Croydon/orgs","repos_url":"https://api.github.com/users/Croydon/repos","events_url":"https://api.github.com/users/Croydon/events{/privacy}","received_events_url":"https://api.github.com/users/Croydon/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":51,"state":"open","created_at":"2016-04-24T14:24:16Z","updated_at":"2019-01-05T23:13:06Z","due_on":"2018-09-15T07:00:00Z","closed_at":null},"comments":11,"created_at":"2017-10-22T15:27:27Z","updated_at":"2019-01-05T23:13:06Z","closed_at":"2019-01-05T23:13:06Z","author_association":"MEMBER","body":"Right now we have dead download links for ca. 20 - 40 minutes after every merge into master.\r\nThis is because our CI first creates a new GitHub release and instantly publish it.\r\n\r\nHowever, the building process for Windows and Linux is taking much longer than this and it takes time till these packages are successfully uploaded.\r\n\r\nThe CI should first create the release as a draft and only publish it when the packages are sucessfully uploaded.\r\n\r\nSwitching to a release draft should be a small change in the API call and publishing it can be done with an additional Travis job as an additional Travis build stage.\r\n\r\nWe need to make sure that both Travis AND AppVeyor are finished before publishing."},"comment":{"url":"https://api.github.com/repos/inexorgame/inexor-core/issues/comments/451700281","html_url":"https://github.com/inexorgame/inexor-core/issues/503#issuecomment-451700281","issue_url":"https://api.github.com/repos/inexorgame/inexor-core/issues/503","id":451700281,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTcwMDI4MQ==","user":{"login":"Croydon","id":1593194,"node_id":"MDQ6VXNlcjE1OTMxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1593194?v=4","gravatar_id":"","url":"https://api.github.com/users/Croydon","html_url":"https://github.com/Croydon","followers_url":"https://api.github.com/users/Croydon/followers","following_url":"https://api.github.com/users/Croydon/following{/other_user}","gists_url":"https://api.github.com/users/Croydon/gists{/gist_id}","starred_url":"https://api.github.com/users/Croydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Croydon/subscriptions","organizations_url":"https://api.github.com/users/Croydon/orgs","repos_url":"https://api.github.com/users/Croydon/repos","events_url":"https://api.github.com/users/Croydon/events{/privacy}","received_events_url":"https://api.github.com/users/Croydon/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T23:13:06Z","updated_at":"2019-01-05T23:13:06Z","author_association":"MEMBER","body":"I believe that any future download should first check for each release if the expected download file actually exists, if not, treat the release as it wouldn't exist.\r\n\r\nReleases can be always corrupt, so this should be done no matter what we are doing beyond that.\r\n\r\nFor the sake of this issue I guess most solutions are too complicated for what we would gain, as it is mostly cosmetic when downloaders can handle such scenarios."}}
{"actor":{"display_login":"Croydon"}}