{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/1675","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1675/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1675/events","html_url":"https://github.com/yarnpkg/yarn/issues/1675","id":187259832,"number":1675,"title":"yarn publish changes version with wrong password","user":{"login":"appsforartists","id":926648,"avatar_url":"https://avatars.githubusercontent.com/u/926648?v=3","gravatar_id":"","url":"https://api.github.com/users/appsforartists","html_url":"https://github.com/appsforartists","followers_url":"https://api.github.com/users/appsforartists/followers","following_url":"https://api.github.com/users/appsforartists/following{/other_user}","gists_url":"https://api.github.com/users/appsforartists/gists{/gist_id}","starred_url":"https://api.github.com/users/appsforartists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsforartists/subscriptions","organizations_url":"https://api.github.com/users/appsforartists/orgs","repos_url":"https://api.github.com/users/appsforartists/repos","events_url":"https://api.github.com/users/appsforartists/events{/privacy}","received_events_url":"https://api.github.com/users/appsforartists/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T06:00:47Z","updated_at":"2016-11-04T06:00:47Z","closed_at":null,"body":"**Do you want to request a *feature* or report a *bug*?**\r\nBug\r\n\r\n**What is the current behavior?**\r\nYarn will refuse to publish a package if the version doesn't change:\r\n```\r\nerror New version is the same as the current version.\r\n```\r\n\r\nIt also bumps the version before logging in, so if auth fails, you'll be in an error state.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n```\r\nyarn publish\r\n// enter new version\r\n// enter wrong npm password\r\nerror Incorrect username or password.\r\nyarn publish\r\nerror New version is the same as the current version.\r\n```\r\n\r\n**What is the expected behavior?**\r\n`yarn publish` should only error if the version currently posted on npmjs.org is the same as the version in `package.json`\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\nyarn publish v0.15.1\r\nnode v6.2.1\r\nmacOS 10.11.6"}}
{"actor":{"display_login":"appsforartists"}}