@mapsam and I ran into the same issue:
If 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.
In order to avoid having to troubleshoot this altogether, what if git fetch was run automatically when running npm-internal publish --dev?
@mapsam and I ran into the same issue: If 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.In order to avoid having to troubleshoot this altogether, what if
git fetch
was run automatically when runningnpm-internal publish --dev
?Perhaps relevant to https://github.com/mapbox/npm-internal/pull/19 ?
cc @karenzshea @freenerd