snapcrafters / signal-desktop

Unofficial Signal Desktop installer for Linux
https://snapcraft.io/signal-desktop
GNU Affero General Public License v3.0
35 stars 14 forks source link

fix: read the correct node version from the package.json #244

Closed jnsgruk closed 11 months ago

jnsgruk commented 11 months ago

The latest version bump (v6.42.0) included an update to the Node version specified. Signal Desktop is quite specific about the version of node used, and previously this was hardcoded. This led to a failure in CI.

This change fetches the package.json for the version being built and reads the expected node version so that it can be installed with asdf, and should prevent similar failures in the future.