{"action":"closed","issue":{"url":"https://api.github.com/repos/mikaelbr/mversion/issues/26","labels_url":"https://api.github.com/repos/mikaelbr/mversion/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mikaelbr/mversion/issues/26/comments","events_url":"https://api.github.com/repos/mikaelbr/mversion/issues/26/events","html_url":"https://github.com/mikaelbr/mversion/issues/26","id":59268827,"number":26,"title":"Execute precommit scripts right before the actual commit","user":{"login":"rubennorte","id":117921,"avatar_url":"https://avatars.githubusercontent.com/u/117921?v=3","gravatar_id":"","url":"https://api.github.com/users/rubennorte","html_url":"https://github.com/rubennorte","followers_url":"https://api.github.com/users/rubennorte/followers","following_url":"https://api.github.com/users/rubennorte/following{/other_user}","gists_url":"https://api.github.com/users/rubennorte/gists{/gist_id}","starred_url":"https://api.github.com/users/rubennorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubennorte/subscriptions","organizations_url":"https://api.github.com/users/rubennorte/orgs","repos_url":"https://api.github.com/users/rubennorte/repos","events_url":"https://api.github.com/users/rubennorte/events{/privacy}","received_events_url":"https://api.github.com/users/rubennorte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T17:39:21Z","updated_at":"2015-02-27T20:59:37Z","closed_at":"2015-02-27T20:59:37Z","body":"If precommit scripts were executed right before the commit (inside the update method, after the clean repo check) we could add files to the commit being created to do things like:\r\n- Generate an automatic changelog file\r\n- Generate API docs\r\n- Add distributable scripts only in release commits (like jQuery does)"}}