{"action":"created","issue":{"url":"https://api.github.com/repos/mockito/mockito/issues/724","repository_url":"https://api.github.com/repos/mockito/mockito","labels_url":"https://api.github.com/repos/mockito/mockito/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/mockito/mockito/issues/724/comments","events_url":"https://api.github.com/repos/mockito/mockito/issues/724/events","html_url":"https://github.com/mockito/mockito/pull/724","id":186142143,"number":724,"title":"Added new release workflow for release automation","user":{"login":"szczepiq","id":24743,"avatar_url":"https://avatars.githubusercontent.com/u/24743?v=3","gravatar_id":"","url":"https://api.github.com/users/szczepiq","html_url":"https://github.com/szczepiq","followers_url":"https://api.github.com/users/szczepiq/followers","following_url":"https://api.github.com/users/szczepiq/following{/other_user}","gists_url":"https://api.github.com/users/szczepiq/gists{/gist_id}","starred_url":"https://api.github.com/users/szczepiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szczepiq/subscriptions","organizations_url":"https://api.github.com/users/szczepiq/orgs","repos_url":"https://api.github.com/users/szczepiq/repos","events_url":"https://api.github.com/users/szczepiq/events{/privacy}","received_events_url":"https://api.github.com/users/szczepiq/received_events","type":"User","site_admin":false},"labels":[{"id":220933456,"url":"https://api.github.com/repos/mockito/mockito/labels/continuous%20integration","name":"continuous integration","color":"006b75","default":false},{"id":399992302,"url":"https://api.github.com/repos/mockito/mockito/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-30T15:15:39Z","updated_at":"2016-11-11T06:13:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mockito/mockito/pulls/724","html_url":"https://github.com/mockito/mockito/pull/724","diff_url":"https://github.com/mockito/mockito/pull/724.diff","patch_url":"https://github.com/mockito/mockito/pull/724.patch"},"body":"The purpose of this RB is to give you heads-up about the improvements to the release automation that I work on. The algorithm is implemented and will not change much. Documentation, edge case unit tests and fixing runnability from Gradle are pending (Travis CI will fail on this PR).\n\nThe goal of the new 'release-workflow' plugin is to able to express the release automation in the build.gradle file like that:\n\n``` groovy\nreleaseWorkflow {\n    step releaseNeeded\n    onlyIf { releaseNeeded.needed }\n    step bintrayUpload\n    step pullCommits\n    step configureGenericGitUser, cleanup: restoreGitUser\n    step commitReleaseNotes, rollback: resetReleaseNotes\n    step tagNewVersion, rollback: removeNewTag\n    step bumpVersion, rollback: unbumpVersion\n    step pushChanges\n}\n```\n\nMore over, it will be very easy to test out the release locally or even individual release steps:\n\n```\n./gradlew release -PdryRun\n./gradlew pullCommits -PsingleStep\n```\n"},"comment":{"url":"https://api.github.com/repos/mockito/mockito/issues/comments/259889026","html_url":"https://github.com/mockito/mockito/pull/724#issuecomment-259889026","issue_url":"https://api.github.com/repos/mockito/mockito/issues/724","id":259889026,"user":{"login":"szczepiq","id":24743,"avatar_url":"https://avatars.githubusercontent.com/u/24743?v=3","gravatar_id":"","url":"https://api.github.com/users/szczepiq","html_url":"https://github.com/szczepiq","followers_url":"https://api.github.com/users/szczepiq/followers","following_url":"https://api.github.com/users/szczepiq/following{/other_user}","gists_url":"https://api.github.com/users/szczepiq/gists{/gist_id}","starred_url":"https://api.github.com/users/szczepiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szczepiq/subscriptions","organizations_url":"https://api.github.com/users/szczepiq/orgs","repos_url":"https://api.github.com/users/szczepiq/repos","events_url":"https://api.github.com/users/szczepiq/events{/privacy}","received_events_url":"https://api.github.com/users/szczepiq/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T06:13:26Z","updated_at":"2016-11-11T06:13:26Z","body":"Sweet review, thank you. It's really cool that you're getting familiar with the release logic!!!"}}
{"actor":{"display_login":"szczepiq"}}