Linux flux 4.2.0-23-generic #28~14.04.1-Ubuntu SMP Thu Dec 31 13:40:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux (Firefox 57.0.1)When fetching either minified or unminified dist versions of js-ipfs from unpkg.com, the previous release from the version requested is returned.
GET https://unpkg.com/[email protected]/dist/index.js contains module.exports = {"name":"ipfs","version":"0.27.4" ...
GET https://unpkg.com/[email protected]/dist/index.js contains module.exports = {"name":"ipfs","version":"0.27.3" ...
GET https://unpkg.com/[email protected]/dist/index.js contains module.exports = {"name":"ipfs","version":"0.27.2" ...
You get the idea..
This is confusing, and could lead to developers getting a different version of js-ipfs than they're expecting, inaccurate bug reports, etc.
I think this is because the version gets bumped after the minification by aegir.
That would do it. Might be good to change that ordering, as I can foresee folks reporting their ipfs.version() in bug reports or other issues, and inadvertently providing the incorrect version. I know I've already done that at least once.
Thanks for reporting this bug @witten. Seems that aegir got these steps mixed up. @VictorBjelkholm could you look into this? Thank you!
Moving this one to aegir -- https://github.com/ipfs/aegir/issues/208
Most helpful comment
Thanks for reporting this bug @witten. Seems that
aegirgot these steps mixed up. @VictorBjelkholm could you look into this? Thank you!