Skip to content
Eric Phetteplace edited this page Feb 18, 2024 · 1 revision

How to do a release

  • npm version $TYPE -m "%s: brief description" where TYPE is one of patch, minor, major (see npm version -h)
  • git push --tags
  • gh release create $TAG e.g. gh release create v2.1.0
    • Use "Write using generated notes as template" so you get the commit changelog link automatically
  • npm publish (probably requires authenticating in browser / 2FA)

ESM

eq was converted to an ECMAScript module with v2.0.0 while the 1.x.y versions were CommonJS. This change should not affect eq command line usage. In general, importing the module as a library is not an anticipated use case and untested.

Invalid SSL Certificates

We can work around unrecognized/invalid SSL certificates in Node by setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0, e.g., export NODE_TLS_REJECT_UNAUTHORIZED=0 in Bash or set -gx NODE_TLS_REJECT_UNAUTHORIZED 0 in Fish. Node will print runtime warnings to stderr but otherwise this is a good way to work around certificates our system doesn't recognize as valid yet. openEQUELLA forces you to use HTTPS for most (all?) API routes, so otherwise we're stuck.

Clone this wiki locally