{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/npm-internal/issues/26","repository_url":"https://api.github.com/repos/mapbox/npm-internal","labels_url":"https://api.github.com/repos/mapbox/npm-internal/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/npm-internal/issues/26/comments","events_url":"https://api.github.com/repos/mapbox/npm-internal/issues/26/events","html_url":"https://github.com/mapbox/npm-internal/issues/26","id":192142434,"number":26,"title":"Run git-fetch during `publish --dev`","user":{"login":"GretaCB","id":1209162,"avatar_url":"https://avatars.githubusercontent.com/u/1209162?v=3","gravatar_id":"","url":"https://api.github.com/users/GretaCB","html_url":"https://github.com/GretaCB","followers_url":"https://api.github.com/users/GretaCB/followers","following_url":"https://api.github.com/users/GretaCB/following{/other_user}","gists_url":"https://api.github.com/users/GretaCB/gists{/gist_id}","starred_url":"https://api.github.com/users/GretaCB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GretaCB/subscriptions","organizations_url":"https://api.github.com/users/GretaCB/orgs","repos_url":"https://api.github.com/users/GretaCB/repos","events_url":"https://api.github.com/users/GretaCB/events{/privacy}","received_events_url":"https://api.github.com/users/GretaCB/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-28T23:06:38Z","updated_at":"2016-11-28T23:08:12Z","closed_at":"2016-11-28T23:08:12Z","body":"@mapsam and I ran into the same issue:\r\nIf your local repo does not have the latest remote tags, `npm-internal publish --dev` will attempt to publish the latest local version instead of the _actual_ latest remote version. This is a confusing bug to troubleshoot.\r\n\r\nIn order to avoid having to troubleshoot this altogether, what if `git fetch` was run automatically when running `npm-internal publish --dev`?\r\n\r\nPerhaps relevant to https://github.com/mapbox/npm-internal/pull/19 ?\r\n\r\ncc @karenzshea @freenerd "}}
{"actor":{"display_login":"GretaCB"}}