{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2585","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2585/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2585/events","html_url":"https://github.com/hapijs/hapi/issues/2585","id":85146954,"number":2585,"title":"preversion hook for changelog","user":{"login":"AdriVanHoudt","id":2361826,"avatar_url":"https://avatars.githubusercontent.com/u/2361826?v=3","gravatar_id":"","url":"https://api.github.com/users/AdriVanHoudt","html_url":"https://github.com/AdriVanHoudt","followers_url":"https://api.github.com/users/AdriVanHoudt/followers","following_url":"https://api.github.com/users/AdriVanHoudt/following{/other_user}","gists_url":"https://api.github.com/users/AdriVanHoudt/gists{/gist_id}","starred_url":"https://api.github.com/users/AdriVanHoudt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdriVanHoudt/subscriptions","organizations_url":"https://api.github.com/users/AdriVanHoudt/orgs","repos_url":"https://api.github.com/users/AdriVanHoudt/repos","events_url":"https://api.github.com/users/AdriVanHoudt/events{/privacy}","received_events_url":"https://api.github.com/users/AdriVanHoudt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/hapi/labels/non-issue","name":"non-issue","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-06-04T15:27:35Z","updated_at":"2015-06-05T08:54:46Z","closed_at":"2015-06-04T15:51:24Z","body":"Since there is now a `preversion` hook maybe plug the changelog generation into it so we always have the latest changelog? \r\n`\"preversion\": \"npm run changelog\"` \r\nand maybe some git command to auto commit or something?\r\nsee https://github.com/npm/npm/blob/master/CHANGELOG.md#featurelets"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/109206854","html_url":"https://github.com/hapijs/hapi/issues/2585#issuecomment-109206854","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2585","id":109206854,"user":{"login":"AdriVanHoudt","id":2361826,"avatar_url":"https://avatars.githubusercontent.com/u/2361826?v=3","gravatar_id":"","url":"https://api.github.com/users/AdriVanHoudt","html_url":"https://github.com/AdriVanHoudt","followers_url":"https://api.github.com/users/AdriVanHoudt/followers","following_url":"https://api.github.com/users/AdriVanHoudt/following{/other_user}","gists_url":"https://api.github.com/users/AdriVanHoudt/gists{/gist_id}","starred_url":"https://api.github.com/users/AdriVanHoudt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdriVanHoudt/subscriptions","organizations_url":"https://api.github.com/users/AdriVanHoudt/orgs","repos_url":"https://api.github.com/users/AdriVanHoudt/repos","events_url":"https://api.github.com/users/AdriVanHoudt/events{/privacy}","received_events_url":"https://api.github.com/users/AdriVanHoudt/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T08:54:46Z","updated_at":"2015-06-05T08:54:46Z","body":"where is the hook located? would it be hard to add this?"}}