hathor-wallet icon indicating copy to clipboard operation
hathor-wallet copied to clipboard

Get wallet version from package.json

Open obiyankenobi opened this issue 5 years ago • 0 comments

When we release a new wallet, we have to change the version in 3 files: package.json, public/electron.js and src/constants.js. We should try to have it only on package.json.

At least in public/electron.js, this is possible and we already do it for Sentry there:

Sentry.init({
  dsn: constants.SENTRY_DSN,
  release: process.env.npm_package_version
})

For files under src/, we might need more steps: https://stackoverflow.com/a/58517156

obiyankenobi avatar Feb 14 '20 13:02 obiyankenobi