{"action":"closed","issue":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/607","repository_url":"https://api.github.com/repos/semantic-release/semantic-release","labels_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/607/comments","events_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/607/events","html_url":"https://github.com/semantic-release/semantic-release/issues/607","id":289507260,"number":607,"title":"Not Found Error in GitHub publish step","user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars0.githubusercontent.com/u/10532611?v=4","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"labels":[{"id":176045176,"url":"https://api.github.com/repos/semantic-release/semantic-release/labels/bug","name":"bug","color":"ee0701","default":true},{"id":780657167,"url":"https://api.github.com/repos/semantic-release/semantic-release/labels/plugin:github","name":"plugin:github","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-01-18T05:15:51Z","updated_at":"2018-02-18T22:00:34Z","closed_at":"2018-02-18T22:00:34Z","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\n```\r\n[Semantic release]: Wrote version 1.5.0 to package.json\r\n[Semantic release]: Publishing version 1.5.0 to npm registry\r\n+ chromeless@1.5.0[Semantic release]: An error occurred while running semantic-release: { [Error: {\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/git/refs/#create-a-reference\"}]\r\n  message: '{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/git/refs/#create-a-reference\"}',\r\n  code: 404,\r\n  status: 'Not Found',\r\n  headers: \r\n   { server: 'GitHub.com',\r\n     date: 'Thu, 18 Jan 2018 04:52:17 GMT',\r\n     'content-type': 'application/json; charset=utf-8',\r\n     'content-length': '106',\r\n     connection: 'close',\r\n     status: '404 Not Found',\r\n     'x-ratelimit-limit': '5000',\r\n     'x-ratelimit-remaining': '4763',\r\n     'x-ratelimit-reset': '1516253265',\r\n     'x-oauth-scopes': 'read:org, repo:status, repo_deployment, user:email, 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.021744',\r\n     'x-github-request-id': 'AC00:7532:CE39AE:188EE14:5A602801' } }\r\n```\r\n\r\n## Expected behavior\r\n\r\n<!-- Describe what the desired behavior would be. -->\r\nNo error, publish release on GitHub.\r\n\r\n## Environment\r\n\r\n- **semantic-release** version: 12.2.2, \r\n- CI environment: CircleCI\r\n- Plugins used: @semantic-release/npm@2.6.1, @semantic-release/github@3.0.1\r\n- **semantic-release** configuration: default\r\n- CI logs: <!-- link to your CI logs or semantic-release logs --> \r\nhttps://circleci.com/gh/graphcool/chromeless/374\r\n\r\nCould this have to do with the changes on `gitHead` resolution?\r\nSince the npm publish was successful the next build passes now because it doesn't publish the GitHub release."}}
{"actor":{"display_login":"gr2m"}}