{"action":"opened","issue":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/97","labels_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/97/comments","events_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/97/events","html_url":"https://github.com/allegro/axion-release-plugin/issues/97","id":100334631,"number":97,"title":"SCM hook : fileupdate , to update version","user":{"login":"tempvchitti","id":13639289,"avatar_url":"https://avatars.githubusercontent.com/u/13639289?v=3","gravatar_id":"","url":"https://api.github.com/users/tempvchitti","html_url":"https://github.com/tempvchitti","followers_url":"https://api.github.com/users/tempvchitti/followers","following_url":"https://api.github.com/users/tempvchitti/following{/other_user}","gists_url":"https://api.github.com/users/tempvchitti/gists{/gist_id}","starred_url":"https://api.github.com/users/tempvchitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tempvchitti/subscriptions","organizations_url":"https://api.github.com/users/tempvchitti/orgs","repos_url":"https://api.github.com/users/tempvchitti/repos","events_url":"https://api.github.com/users/tempvchitti/events{/privacy}","received_events_url":"https://api.github.com/users/tempvchitti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T15:08:35Z","updated_at":"2015-08-11T15:08:35Z","closed_at":null,"body":"Hi\r\nI am trying to update the version in README.md to the new release version,\r\nthe format i have in .md file is\r\n version = 'GradleRelease-Poc-0.1.4'\r\n\r\nand the hook am using in SCM is \r\n    hooks {\r\n      pre 'fileUpdate', [files: project.file('README.md'), pattern: {v, p -> /'$v'/ }, replacement: {v, p -> \"'$v'\"}]\r\n        pre 'commit'\r\n    }\r\n\r\nBut when I do release, I do not see README file updated.\r\n\r\nCan someone please correct me if am doing anything wrong .\r\n\r\nThanks for your time."}}