sanctuary-js / sanctuary

:see_no_evil: Refuge from unsafe JavaScript
https://sanctuary.js.org
MIT License
3.04k stars 94 forks source link

dist: use VERSION when generating bundle header #675

Closed davidchambers closed 4 years ago

davidchambers commented 4 years ago

scripts/bundle, added in #641, currently uses the value of the version field of package.json when generating the header. This is incorrect: xyz runs scripts before updating the version field. This explains why the first line of bundle.js refers to version 2.0.1 rather than to version 2.0.2.

/cc @Avaq