{"action":"created","comment":{"url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/comments/293150634","pull_request_review_id":249059094,"id":293150634,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5MzE1MDYzNA==","diff_hunk":"@@ -1,52 +0,0 @@\n----","path":"www/content/blob.md","position":null,"original_position":1,"commit_id":"14bc8a75cba644556790ec36b35ca328709d652c","original_commit_id":"fee8ad3395924499dd7fa687f028fdd3f306737a","user":{"login":"mavogel","id":8409778,"node_id":"MDQ6VXNlcjg0MDk3Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8409778?v=4","gravatar_id":"","url":"https://api.github.com/users/mavogel","html_url":"https://github.com/mavogel","followers_url":"https://api.github.com/users/mavogel/followers","following_url":"https://api.github.com/users/mavogel/following{/other_user}","gists_url":"https://api.github.com/users/mavogel/gists{/gist_id}","starred_url":"https://api.github.com/users/mavogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavogel/subscriptions","organizations_url":"https://api.github.com/users/mavogel/orgs","repos_url":"https://api.github.com/users/mavogel/repos","events_url":"https://api.github.com/users/mavogel/events{/privacy}","received_events_url":"https://api.github.com/users/mavogel/received_events","type":"User","site_admin":false},"body":"fixed conflicts 🎉 ","created_at":"2019-06-12T23:00:02Z","updated_at":"2019-06-12T23:00:03Z","html_url":"https://github.com/goreleaser/goreleaser/pull/1038#discussion_r293150634","pull_request_url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/comments/293150634"},"html":{"href":"https://github.com/goreleaser/goreleaser/pull/1038#discussion_r293150634"},"pull_request":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038"}},"in_reply_to_id":292110112},"pull_request":{"url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038","id":285156517,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg1MTU2NTE3","html_url":"https://github.com/goreleaser/goreleaser/pull/1038","diff_url":"https://github.com/goreleaser/goreleaser/pull/1038.diff","patch_url":"https://github.com/goreleaser/goreleaser/pull/1038.patch","issue_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/1038","number":1038,"state":"open","locked":false,"title":"feat: add gitlab for releases","user":{"login":"mavogel","id":8409778,"node_id":"MDQ6VXNlcjg0MDk3Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8409778?v=4","gravatar_id":"","url":"https://api.github.com/users/mavogel","html_url":"https://github.com/mavogel","followers_url":"https://api.github.com/users/mavogel/followers","following_url":"https://api.github.com/users/mavogel/following{/other_user}","gists_url":"https://api.github.com/users/mavogel/gists{/gist_id}","starred_url":"https://api.github.com/users/mavogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavogel/subscriptions","organizations_url":"https://api.github.com/users/mavogel/orgs","repos_url":"https://api.github.com/users/mavogel/repos","events_url":"https://api.github.com/users/mavogel/events{/privacy}","received_events_url":"https://api.github.com/users/mavogel/received_events","type":"User","site_admin":false},"body":"Closely to #809 but with the latest `github.com/xanzy/go-gitlab` client. I'll try to keep the changes/adaptions small (cuz refactorings will be done in #807) and probably re-use some of the code of the mentioned PR. \r\n\r\n- If applied, this commit will add the possibility to release to `gitlab`\r\n- Why is this change being made?  To support `gitlab`\r\n- Provide links to any relevant tickets, URLs or other resources: my playground https://gitlab.com/mavogel/release-testing/releases\r\n\r\nOpen questions for @caarlos0 \r\n- should it be possible to release to either gitlab or github and the validation will be done in config parsing?\r\n- should it be possible in the first step to be only able to release to brew and scoop if it's a github release and then later after #807 enable it for gitlab as well? This would keep the changes in this PR smaller\r\n\r\nLeft todo (incl. tests)\r\n- [x] add factory to client to load depending on tokenType\r\n- [x] adapt release pipe according\r\n- [x] add yaml parsing and errors for invalid\r\n- [x] skip brew and scoop by when gitlab is used for releasing\r\n- testing with demo repo and fixing errors\r\n   - [x] fixed changelog generation\r\n   - [x] testing without given owner and repo and default extraction\r\n   - [x] testing with private gitlab\r\n   - [x] testing with docker images and gitlab\r\n   - [x] test with gitlab ci: [release](https://gitlab.com/mavogel/release-testing/-/releases) 0.3.1 and [job](https://gitlab.com/mavogel/release-testing/pipelines/65747428)\r\n- [x] update docs ee4e299535e7c83e3d69b42b2f46e0f8fb1fcaea\r\n- [ ] merge latest master and resolve conflicts","created_at":"2019-06-04T21:47:38Z","updated_at":"2019-06-12T23:00:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"895873ee3ee060ec091a7543637a73c25a84c442","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038/commits","review_comments_url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038/comments","review_comment_url":"https://api.github.com/repos/goreleaser/goreleaser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/1038/comments","statuses_url":"https://api.github.com/repos/goreleaser/goreleaser/statuses/14bc8a75cba644556790ec36b35ca328709d652c","head":{"label":"mavogel:feat-gitlab","ref":"feat-gitlab","sha":"14bc8a75cba644556790ec36b35ca328709d652c","user":{"login":"mavogel","id":8409778,"node_id":"MDQ6VXNlcjg0MDk3Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8409778?v=4","gravatar_id":"","url":"https://api.github.com/users/mavogel","html_url":"https://github.com/mavogel","followers_url":"https://api.github.com/users/mavogel/followers","following_url":"https://api.github.com/users/mavogel/following{/other_user}","gists_url":"https://api.github.com/users/mavogel/gists{/gist_id}","starred_url":"https://api.github.com/users/mavogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavogel/subscriptions","organizations_url":"https://api.github.com/users/mavogel/orgs","repos_url":"https://api.github.com/users/mavogel/repos","events_url":"https://api.github.com/users/mavogel/events{/privacy}","received_events_url":"https://api.github.com/users/mavogel/received_events","type":"User","site_admin":false},"repo":{"id":190282108,"node_id":"MDEwOlJlcG9zaXRvcnkxOTAyODIxMDg=","name":"goreleaser","full_name":"mavogel/goreleaser","private":false,"owner":{"login":"mavogel","id":8409778,"node_id":"MDQ6VXNlcjg0MDk3Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8409778?v=4","gravatar_id":"","url":"https://api.github.com/users/mavogel","html_url":"https://github.com/mavogel","followers_url":"https://api.github.com/users/mavogel/followers","following_url":"https://api.github.com/users/mavogel/following{/other_user}","gists_url":"https://api.github.com/users/mavogel/gists{/gist_id}","starred_url":"https://api.github.com/users/mavogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavogel/subscriptions","organizations_url":"https://api.github.com/users/mavogel/orgs","repos_url":"https://api.github.com/users/mavogel/repos","events_url":"https://api.github.com/users/mavogel/events{/privacy}","received_events_url":"https://api.github.com/users/mavogel/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mavogel/goreleaser","description":"Deliver Go binaries as fast and easily as possible","fork":true,"url":"https://api.github.com/repos/mavogel/goreleaser","forks_url":"https://api.github.com/repos/mavogel/goreleaser/forks","keys_url":"https://api.github.com/repos/mavogel/goreleaser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavogel/goreleaser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavogel/goreleaser/teams","hooks_url":"https://api.github.com/repos/mavogel/goreleaser/hooks","issue_events_url":"https://api.github.com/repos/mavogel/goreleaser/issues/events{/number}","events_url":"https://api.github.com/repos/mavogel/goreleaser/events","assignees_url":"https://api.github.com/repos/mavogel/goreleaser/assignees{/user}","branches_url":"https://api.github.com/repos/mavogel/goreleaser/branches{/branch}","tags_url":"https://api.github.com/repos/mavogel/goreleaser/tags","blobs_url":"https://api.github.com/repos/mavogel/goreleaser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavogel/goreleaser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavogel/goreleaser/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavogel/goreleaser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavogel/goreleaser/statuses/{sha}","languages_url":"https://api.github.com/repos/mavogel/goreleaser/languages","stargazers_url":"https://api.github.com/repos/mavogel/goreleaser/stargazers","contributors_url":"https://api.github.com/repos/mavogel/goreleaser/contributors","subscribers_url":"https://api.github.com/repos/mavogel/goreleaser/subscribers","subscription_url":"https://api.github.com/repos/mavogel/goreleaser/subscription","commits_url":"https://api.github.com/repos/mavogel/goreleaser/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavogel/goreleaser/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavogel/goreleaser/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavogel/goreleaser/issues/comments{/number}","contents_url":"https://api.github.com/repos/mavogel/goreleaser/contents/{+path}","compare_url":"https://api.github.com/repos/mavogel/goreleaser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavogel/goreleaser/merges","archive_url":"https://api.github.com/repos/mavogel/goreleaser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavogel/goreleaser/downloads","issues_url":"https://api.github.com/repos/mavogel/goreleaser/issues{/number}","pulls_url":"https://api.github.com/repos/mavogel/goreleaser/pulls{/number}","milestones_url":"https://api.github.com/repos/mavogel/goreleaser/milestones{/number}","notifications_url":"https://api.github.com/repos/mavogel/goreleaser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavogel/goreleaser/labels{/name}","releases_url":"https://api.github.com/repos/mavogel/goreleaser/releases{/id}","deployments_url":"https://api.github.com/repos/mavogel/goreleaser/deployments","created_at":"2019-06-04T21:30:00Z","updated_at":"2019-06-04T21:30:03Z","pushed_at":"2019-06-12T22:58:57Z","git_url":"git://github.com/mavogel/goreleaser.git","ssh_url":"git@github.com:mavogel/goreleaser.git","clone_url":"https://github.com/mavogel/goreleaser.git","svn_url":"https://github.com/mavogel/goreleaser","homepage":"https://goreleaser.com","size":7846,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"goreleaser:master","ref":"master","sha":"3f082c9252eb93a4bdf5045e06accbde37bb6dc3","user":{"login":"goreleaser","id":24697112,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Njk3MTEy","avatar_url":"https://avatars1.githubusercontent.com/u/24697112?v=4","gravatar_id":"","url":"https://api.github.com/users/goreleaser","html_url":"https://github.com/goreleaser","followers_url":"https://api.github.com/users/goreleaser/followers","following_url":"https://api.github.com/users/goreleaser/following{/other_user}","gists_url":"https://api.github.com/users/goreleaser/gists{/gist_id}","starred_url":"https://api.github.com/users/goreleaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goreleaser/subscriptions","organizations_url":"https://api.github.com/users/goreleaser/orgs","repos_url":"https://api.github.com/users/goreleaser/repos","events_url":"https://api.github.com/users/goreleaser/events{/privacy}","received_events_url":"https://api.github.com/users/goreleaser/received_events","type":"Organization","site_admin":false},"repo":{"id":77071454,"node_id":"MDEwOlJlcG9zaXRvcnk3NzA3MTQ1NA==","name":"goreleaser","full_name":"goreleaser/goreleaser","private":false,"owner":{"login":"goreleaser","id":24697112,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Njk3MTEy","avatar_url":"https://avatars1.githubusercontent.com/u/24697112?v=4","gravatar_id":"","url":"https://api.github.com/users/goreleaser","html_url":"https://github.com/goreleaser","followers_url":"https://api.github.com/users/goreleaser/followers","following_url":"https://api.github.com/users/goreleaser/following{/other_user}","gists_url":"https://api.github.com/users/goreleaser/gists{/gist_id}","starred_url":"https://api.github.com/users/goreleaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goreleaser/subscriptions","organizations_url":"https://api.github.com/users/goreleaser/orgs","repos_url":"https://api.github.com/users/goreleaser/repos","events_url":"https://api.github.com/users/goreleaser/events{/privacy}","received_events_url":"https://api.github.com/users/goreleaser/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/goreleaser/goreleaser","description":"Deliver Go binaries as fast and easily as possible","fork":false,"url":"https://api.github.com/repos/goreleaser/goreleaser","forks_url":"https://api.github.com/repos/goreleaser/goreleaser/forks","keys_url":"https://api.github.com/repos/goreleaser/goreleaser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goreleaser/goreleaser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goreleaser/goreleaser/teams","hooks_url":"https://api.github.com/repos/goreleaser/goreleaser/hooks","issue_events_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/events{/number}","events_url":"https://api.github.com/repos/goreleaser/goreleaser/events","assignees_url":"https://api.github.com/repos/goreleaser/goreleaser/assignees{/user}","branches_url":"https://api.github.com/repos/goreleaser/goreleaser/branches{/branch}","tags_url":"https://api.github.com/repos/goreleaser/goreleaser/tags","blobs_url":"https://api.github.com/repos/goreleaser/goreleaser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goreleaser/goreleaser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goreleaser/goreleaser/git/refs{/sha}","trees_url":"https://api.github.com/repos/goreleaser/goreleaser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goreleaser/goreleaser/statuses/{sha}","languages_url":"https://api.github.com/repos/goreleaser/goreleaser/languages","stargazers_url":"https://api.github.com/repos/goreleaser/goreleaser/stargazers","contributors_url":"https://api.github.com/repos/goreleaser/goreleaser/contributors","subscribers_url":"https://api.github.com/repos/goreleaser/goreleaser/subscribers","subscription_url":"https://api.github.com/repos/goreleaser/goreleaser/subscription","commits_url":"https://api.github.com/repos/goreleaser/goreleaser/commits{/sha}","git_commits_url":"https://api.github.com/repos/goreleaser/goreleaser/git/commits{/sha}","comments_url":"https://api.github.com/repos/goreleaser/goreleaser/comments{/number}","issue_comment_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/comments{/number}","contents_url":"https://api.github.com/repos/goreleaser/goreleaser/contents/{+path}","compare_url":"https://api.github.com/repos/goreleaser/goreleaser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goreleaser/goreleaser/merges","archive_url":"https://api.github.com/repos/goreleaser/goreleaser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goreleaser/goreleaser/downloads","issues_url":"https://api.github.com/repos/goreleaser/goreleaser/issues{/number}","pulls_url":"https://api.github.com/repos/goreleaser/goreleaser/pulls{/number}","milestones_url":"https://api.github.com/repos/goreleaser/goreleaser/milestones{/number}","notifications_url":"https://api.github.com/repos/goreleaser/goreleaser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goreleaser/goreleaser/labels{/name}","releases_url":"https://api.github.com/repos/goreleaser/goreleaser/releases{/id}","deployments_url":"https://api.github.com/repos/goreleaser/goreleaser/deployments","created_at":"2016-12-21T17:13:39Z","updated_at":"2019-06-12T08:50:32Z","pushed_at":"2019-06-12T22:58:59Z","git_url":"git://github.com/goreleaser/goreleaser.git","ssh_url":"git@github.com:goreleaser/goreleaser.git","clone_url":"https://github.com/goreleaser/goreleaser.git","svn_url":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com","size":7772,"stargazers_count":4252,"watchers_count":4252,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":270,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":270,"open_issues":18,"watchers":4252,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038"},"html":{"href":"https://github.com/goreleaser/goreleaser/pull/1038"},"issue":{"href":"https://api.github.com/repos/goreleaser/goreleaser/issues/1038"},"comments":{"href":"https://api.github.com/repos/goreleaser/goreleaser/issues/1038/comments"},"review_comments":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038/comments"},"review_comment":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goreleaser/goreleaser/pulls/1038/commits"},"statuses":{"href":"https://api.github.com/repos/goreleaser/goreleaser/statuses/14bc8a75cba644556790ec36b35ca328709d652c"}},"author_association":"NONE"}}
{"actor":{"display_login":"mavogel"}}