NPM registry yields prior string version of latest mapbox-gl dist
mapbox-gl-js version: 0.26.0 (??? see below ???)
Latest build under https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-0.26.0.tgz at dist/mapbox-gl.js reports the incorrect version.
Expected Behavior
exports string version: 0.26.0
Actual Behavior
exports string version: 0.25.1
I downloaded https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-0.25.1.tgz and it reported build version 0.25.0.
I had 0.20.0 installed recently and it would report 0.19.1.
That probably happens when a person who does the release does not regenerate the bundle after running npm version, doing npm publish with an outdated version field. I think we can fix this by adding a prepublish script. cc @jfirebaugh
A better long-term fix would be #2250.
Yeah, we need to automate this so there's no human involved.