{"action":"created","issue":{"url":"https://api.github.com/repos/afragen/github-updater/issues/459","repository_url":"https://api.github.com/repos/afragen/github-updater","labels_url":"https://api.github.com/repos/afragen/github-updater/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/afragen/github-updater/issues/459/comments","events_url":"https://api.github.com/repos/afragen/github-updater/issues/459/events","html_url":"https://github.com/afragen/github-updater/issues/459","id":180305846,"number":459,"title":"Release assets do not work for GitLab","user":{"login":"joaopluis","id":3922272,"avatar_url":"https://avatars.githubusercontent.com/u/3922272?v=3","gravatar_id":"","url":"https://api.github.com/users/joaopluis","html_url":"https://github.com/joaopluis","followers_url":"https://api.github.com/users/joaopluis/followers","following_url":"https://api.github.com/users/joaopluis/following{/other_user}","gists_url":"https://api.github.com/users/joaopluis/gists{/gist_id}","starred_url":"https://api.github.com/users/joaopluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaopluis/subscriptions","organizations_url":"https://api.github.com/users/joaopluis/orgs","repos_url":"https://api.github.com/users/joaopluis/repos","events_url":"https://api.github.com/users/joaopluis/events{/privacy}","received_events_url":"https://api.github.com/users/joaopluis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-09-30T13:37:58Z","updated_at":"2016-10-03T20:56:18Z","closed_at":null,"body":"I tried to use this for my GitLab and I thought / hope that the release assets would work with GitLab artifacts. Turned out they don't.\r\n\r\nThis would be a nice feature as GitLab CI compiles the theme assets and builds it, with the artifact generated being the correct ZIP.\r\n\r\nI think this could be achieved through the Tag, Commit and Build APIs (the last one being the download link), but any of them still require the correct name. This could be done by either:\r\n\r\n- Defining a standard job name (eg, build_theme) for the job which artifact would be used;\r\n- Add a new header GitLab Job (or similar) to configure this name.\r\n\r\nI could try to implement this (and submit a pull request) but only 3 or 4 weeks from now, "},"comment":{"url":"https://api.github.com/repos/afragen/github-updater/issues/comments/251224410","html_url":"https://github.com/afragen/github-updater/issues/459#issuecomment-251224410","issue_url":"https://api.github.com/repos/afragen/github-updater/issues/459","id":251224410,"user":{"login":"joaopluis","id":3922272,"avatar_url":"https://avatars.githubusercontent.com/u/3922272?v=3","gravatar_id":"","url":"https://api.github.com/users/joaopluis","html_url":"https://github.com/joaopluis","followers_url":"https://api.github.com/users/joaopluis/followers","following_url":"https://api.github.com/users/joaopluis/following{/other_user}","gists_url":"https://api.github.com/users/joaopluis/gists{/gist_id}","starred_url":"https://api.github.com/users/joaopluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaopluis/subscriptions","organizations_url":"https://api.github.com/users/joaopluis/orgs","repos_url":"https://api.github.com/users/joaopluis/repos","events_url":"https://api.github.com/users/joaopluis/events{/privacy}","received_events_url":"https://api.github.com/users/joaopluis/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T20:56:18Z","updated_at":"2016-10-03T20:56:18Z","body":"That may be because of the redirection... I suggest either using the first URL I posted, with the project ID (which the GitLab API class already knows) or, using the second, read the headers and use the Location header URL."}}
{"actor":{"display_login":"joaopluis"}}