{"action":"closed","issue":{"url":"https://api.github.com/repos/mockito/shipkit/issues/205","repository_url":"https://api.github.com/repos/mockito/shipkit","labels_url":"https://api.github.com/repos/mockito/shipkit/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/mockito/shipkit/issues/205/comments","events_url":"https://api.github.com/repos/mockito/shipkit/issues/205/events","html_url":"https://github.com/mockito/shipkit/issues/205","id":233671597,"number":205,"title":"Combine updateReleaseNotes and previewReleaseNotes into one task with parameter","user":{"login":"wwilk","id":3420667,"avatar_url":"https://avatars2.githubusercontent.com/u/3420667?v=3","gravatar_id":"","url":"https://api.github.com/users/wwilk","html_url":"https://github.com/wwilk","followers_url":"https://api.github.com/users/wwilk/followers","following_url":"https://api.github.com/users/wwilk/following{/other_user}","gists_url":"https://api.github.com/users/wwilk/gists{/gist_id}","starred_url":"https://api.github.com/users/wwilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwilk/subscriptions","organizations_url":"https://api.github.com/users/wwilk/orgs","repos_url":"https://api.github.com/users/wwilk/repos","events_url":"https://api.github.com/users/wwilk/events{/privacy}","received_events_url":"https://api.github.com/users/wwilk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"wwilk","id":3420667,"avatar_url":"https://avatars2.githubusercontent.com/u/3420667?v=3","gravatar_id":"","url":"https://api.github.com/users/wwilk","html_url":"https://github.com/wwilk","followers_url":"https://api.github.com/users/wwilk/followers","following_url":"https://api.github.com/users/wwilk/following{/other_user}","gists_url":"https://api.github.com/users/wwilk/gists{/gist_id}","starred_url":"https://api.github.com/users/wwilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwilk/subscriptions","organizations_url":"https://api.github.com/users/wwilk/orgs","repos_url":"https://api.github.com/users/wwilk/repos","events_url":"https://api.github.com/users/wwilk/events{/privacy}","received_events_url":"https://api.github.com/users/wwilk/received_events","type":"User","site_admin":false},"assignees":[{"login":"wwilk","id":3420667,"avatar_url":"https://avatars2.githubusercontent.com/u/3420667?v=3","gravatar_id":"","url":"https://api.github.com/users/wwilk","html_url":"https://github.com/wwilk","followers_url":"https://api.github.com/users/wwilk/followers","following_url":"https://api.github.com/users/wwilk/following{/other_user}","gists_url":"https://api.github.com/users/wwilk/gists{/gist_id}","starred_url":"https://api.github.com/users/wwilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwilk/subscriptions","organizations_url":"https://api.github.com/users/wwilk/orgs","repos_url":"https://api.github.com/users/wwilk/repos","events_url":"https://api.github.com/users/wwilk/events{/privacy}","received_events_url":"https://api.github.com/users/wwilk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-06-05T18:31:47Z","updated_at":"2017-06-13T17:39:37Z","closed_at":"2017-06-13T17:39:37Z","body":"The release generation task is implemented as a pair of tasks: preview task and separate update task. This approach makes the tasks hard to reuse. If someone wants to declare or reconfigure release notes generation at the task level, he needs to do it twice. You can see this problem in #190 - “emphasizeVersion” property needs to configured twice. To solve the problem, we can create single implementation of IncrementalReleaseNotes and use Gradle’s task parameter API to distinguish between preview mode and update mode. Here’s how would this work:\r\n\r\nupdate release notes: ./gradlew updateReleaseNotes\r\npreview release notes: ./gradlew updateReleaseNotes -Ppreview\r\n\r\n"}}
{"actor":{"display_login":"wwilk"}}