{"action":"created","issue":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/283","repository_url":"https://api.github.com/repos/semantic-release/semantic-release","labels_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/283/comments","events_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/283/events","html_url":"https://github.com/semantic-release/semantic-release/issues/283","id":173471099,"number":283,"title":"Non-release builds cause build to fail","user":{"login":"theninthnode","id":912279,"avatar_url":"https://avatars.githubusercontent.com/u/912279?v=3","gravatar_id":"","url":"https://api.github.com/users/theninthnode","html_url":"https://github.com/theninthnode","followers_url":"https://api.github.com/users/theninthnode/followers","following_url":"https://api.github.com/users/theninthnode/following{/other_user}","gists_url":"https://api.github.com/users/theninthnode/gists{/gist_id}","starred_url":"https://api.github.com/users/theninthnode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theninthnode/subscriptions","organizations_url":"https://api.github.com/users/theninthnode/orgs","repos_url":"https://api.github.com/users/theninthnode/repos","events_url":"https://api.github.com/users/theninthnode/events{/privacy}","received_events_url":"https://api.github.com/users/theninthnode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T14:48:15Z","updated_at":"2016-09-05T13:52:56Z","closed_at":null,"body":"I've set up semantic release for a module which has a CI pipeline in Codeship. If I do a commitizen style commit message for docs. i.e `docs('scope goes here')` sr throws an error that it couldn't find a new version for release. However this then causes the build to fail.\r\n\r\n```\r\nsemantic-release ERR! pre Failed to determine new version.\r\nsemantic-release ERR! pre ENOCHANGE There are no relevant changes, so no new version is released.\r\n```\r\n\r\nDesired behavior would be to complete the build but WARN that a new version was not released. Otherwise I have to check that my tests didn't cause the failure.\r\n\r\nI guess the issue is because of the following package.json script:\r\n\r\n`\"semantic-release\": \"semantic-release pre && npm publish && semantic-release post\"`\r\n\r\nIn order to not run `npm publish` the `semantic-release pre` command must throw an error.\r\n\r\nA possible fix would be to move those commands into a script to wrap that first command in a try catch to catch the ENOCHANGE errors and skip `npm publish` and `semantic-release post` so the build is allowed to pass?"},"comment":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/comments/244752111","html_url":"https://github.com/semantic-release/semantic-release/issues/283#issuecomment-244752111","issue_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/283","id":244752111,"user":{"login":"vrtxf","id":237133,"avatar_url":"https://avatars.githubusercontent.com/u/237133?v=3","gravatar_id":"","url":"https://api.github.com/users/vrtxf","html_url":"https://github.com/vrtxf","followers_url":"https://api.github.com/users/vrtxf/followers","following_url":"https://api.github.com/users/vrtxf/following{/other_user}","gists_url":"https://api.github.com/users/vrtxf/gists{/gist_id}","starred_url":"https://api.github.com/users/vrtxf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrtxf/subscriptions","organizations_url":"https://api.github.com/users/vrtxf/orgs","repos_url":"https://api.github.com/users/vrtxf/repos","events_url":"https://api.github.com/users/vrtxf/events{/privacy}","received_events_url":"https://api.github.com/users/vrtxf/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T13:52:56Z","updated_at":"2016-09-05T13:52:56Z","body":"check out https://www.npmjs.com/package/semantic-release#is-it-really-a-good-idea-to-release-on-every-push"}}
{"actor":{"display_login":"vrtxf"}}