{"action":"opened","issue":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/658","repository_url":"https://api.github.com/repos/semantic-release/semantic-release","labels_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/658/comments","events_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/658/events","html_url":"https://github.com/semantic-release/semantic-release/issues/658","id":296172456,"number":658,"title":"NPM Package Released but Release Notes & Code tagging not done on GITHUB REPO","user":{"login":"bjavaid","id":13746772,"avatar_url":"https://avatars2.githubusercontent.com/u/13746772?v=4","gravatar_id":"","url":"https://api.github.com/users/bjavaid","html_url":"https://github.com/bjavaid","followers_url":"https://api.github.com/users/bjavaid/followers","following_url":"https://api.github.com/users/bjavaid/following{/other_user}","gists_url":"https://api.github.com/users/bjavaid/gists{/gist_id}","starred_url":"https://api.github.com/users/bjavaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjavaid/subscriptions","organizations_url":"https://api.github.com/users/bjavaid/orgs","repos_url":"https://api.github.com/users/bjavaid/repos","events_url":"https://api.github.com/users/bjavaid/events{/privacy}","received_events_url":"https://api.github.com/users/bjavaid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-11T08:34:49Z","updated_at":"2018-02-11T08:34:49Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease fill the informations requested or use one of the following url:\r\n  - Bug report: https://github.com/semantic-release/semantic-release/issues/new?template=bug-report.md\r\n  - Feature request: https://github.com/semantic-release/semantic-release/issues/new?template=feature-request.md\r\n  - New plugin request: https://github.com/semantic-release/semantic-release/issues/new?template=plugin-request.md\r\n-->\r\n\r\n<!--------------------- FOR BUG REPORT ONLY --------------------->\r\n\r\n## Current behavior\r\n\r\nWhen I run the code locally then no error is generated and package shows the release notes properly.\r\n\r\nFollowing error generated on travis during semantic release\r\n\r\n`[Semantic release]: An error occurred while running semantic-release: { HttpError: {\"message\":\"Object does not exist\",\"documentation_url\":\"https://developer.github.com/v3/git/refs/#create-a-reference\"}\r\n    at IncomingMessage.response.on (/home/travis/build/BlueEastCode/bluerain-os/node_modules/@octokit/rest/lib/request/request.js:73:18)\r\n    at emitNone (events.js:111:20)\r\n    at IncomingMessage.emit (events.js:208:7)\r\n    at endReadableNT (_stream_readable.js:1055:12)\r\n    at _combinedTickCallback (internal/process/next_tick.js:138:11)\r\n    at process._tickCallback (internal/process/next_tick.js:180:9)\r\n  name: 'HttpError',\r\n  code: 422,\r\n  status: undefined,\r\n  headers: \r\n   { server: 'GitHub.com',\r\n     date: 'Sun, 11 Feb 2018 08:26:41 GMT',\r\n     'content-type': 'application/json; charset=utf-8',\r\n     'content-length': '118',\r\n     connection: 'close',\r\n     status: '422 Unprocessable Entity',\r\n     'x-ratelimit-limit': '5000',\r\n     'x-ratelimit-remaining': '4963',\r\n     'x-ratelimit-reset': '1518339769',\r\n     'x-oauth-scopes': 'repo, read:org, user:email, repo_deployment, repo:status, write:repo_hook',\r\n     'x-accepted-oauth-scopes': '',\r\n     'x-github-media-type': 'github.v3; format=json',\r\n     'access-control-expose-headers': 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval',\r\n     'access-control-allow-origin': '*',\r\n     'content-security-policy': 'default-src \\'none\\'',\r\n     'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',\r\n     'x-content-type-options': 'nosniff',\r\n     'x-frame-options': 'deny',\r\n     'x-xss-protection': '1; mode=block',\r\n     'x-runtime-rack': '0.044387',\r\n     'x-github-request-id': 'CD26:23E3C:15518A7:256D51C:5A7FFE41' } }`\r\n\r\n## Expected behavior\r\n\r\nIt should tag the code on github and publish the release notes. I doubled checked my GH_TOKEN value; delete the existing one added again on travis.\r\n\r\n## Environment\r\n\r\n- **semantic-release** version: 12.4.1\r\n- CI environment: Travis\r\n- Plugins used: Default\r\n- **semantic-release** configuration: https://github.com/BlueEastCode/bluerain-os/blob/master/package.json#L43\r\n- CI logs: https://travis-ci.org/BlueEastCode/bluerain-os/jobs/340069126\r\n"}}
{"actor":{"display_login":"bjavaid"}}