{"action":"opened","issue":{"url":"https://api.github.com/repos/conventional-changelog/standard-version/issues/239","repository_url":"https://api.github.com/repos/conventional-changelog/standard-version","labels_url":"https://api.github.com/repos/conventional-changelog/standard-version/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/conventional-changelog/standard-version/issues/239/comments","events_url":"https://api.github.com/repos/conventional-changelog/standard-version/issues/239/events","html_url":"https://github.com/conventional-changelog/standard-version/issues/239","id":307535752,"number":239,"title":"Generates wrong publish command when using with private npm modules","user":{"login":"mischah","id":441011,"avatar_url":"https://avatars2.githubusercontent.com/u/441011?v=4","gravatar_id":"","url":"https://api.github.com/users/mischah","html_url":"https://github.com/mischah","followers_url":"https://api.github.com/users/mischah/followers","following_url":"https://api.github.com/users/mischah/following{/other_user}","gists_url":"https://api.github.com/users/mischah/gists{/gist_id}","starred_url":"https://api.github.com/users/mischah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischah/subscriptions","organizations_url":"https://api.github.com/users/mischah/orgs","repos_url":"https://api.github.com/users/mischah/repos","events_url":"https://api.github.com/users/mischah/events{/privacy}","received_events_url":"https://api.github.com/users/mischah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T07:42:02Z","updated_at":"2018-03-22T07:42:02Z","closed_at":null,"author_association":"NONE","body":"Hej, \r\n\r\nthe following occured with `standard-version@4.3.0` and having `\"private\": true` in my package.json\r\n\r\nI used the following command:\r\n\r\n```\r\n$ standard-version --tag-prefix \"--prerelease\" \"beta\"\r\n```\r\n\r\n## Actual output\r\n\r\n```\r\n✔ bumping version in package.json from 3.0.0-beta.0 to 3.0.0-beta.1\r\n✔ bumping version in package-lock.json from 3.0.0-beta.0 to 3.0.0-beta.1\r\n✔ outputting changes to CHANGELOG.md\r\n✔ committing package-lock.json and package.json and CHANGELOG.md\r\n✔ tagging release 3.0.0-beta.1\r\nℹ Run `git push --follow-tags origin master --tag prerelease` to publish\r\n```\r\n\r\nwhere `--tag prerelease` doesn’t make sense as a git flag:\r\n\r\n```\r\n$ git push --follow-tags origin master --tag prerelease\r\nerror: src refspec prerelease does not match any.\r\nerror: failed to push some refs to 'git@github.com:micromata/baumeister.git'\r\n```\r\n\r\n## Desired output\r\n```\r\nℹ Run `git push --follow-tags origin master` to publish\r\n```\r\n\r\n----\r\n\r\nCheers, Michael"}}
{"actor":{"display_login":"mischah"}}