mapbox / npm-internal

helps you package internal npm modules and upload them to your own s3 bucket.
MIT License
11 stars 3 forks source link

Run git-fetch during `publish --dev` #26

Closed GretaCB closed 7 years ago

GretaCB commented 7 years ago

@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?

Perhaps relevant to https://github.com/mapbox/npm-internal/pull/19 ?

cc @karenzshea @freenerd

GretaCB commented 7 years ago

Closing per https://github.com/mapbox/npm-internal/issues/25