Bundling new firmware

  1. Complete the firmware release process including firmware signing.

  2. After the signing FW has been tested by QA in Test Signed environment.

  3. Add new firmwares along with each firmware release JSON file from repository trezor/data to packages/connect-common/files/firmware/* and remove the current ones

  4. Remove older binaries so they are not bundled in the desktop app any more, but always keep:

  5. Once new firmwares and releases JSON are added and old firmwares are removed you can proceed with running script yarn tsx packages/connect-common/scripts/generate-firmware-index.ts that will update the file packages/connect-common/src/map-releases.ts.

  6. Update packages/connect-common/files/firmware/release/releases.v1.json to be mapped to the latest FW. Make sure the sequence is higher than the one in https://github.com/trezor/trezor-suite-firmware-release/blob/main/releases/production/releases.v1.json if you want it to be used.

  7. If you have completed the points above you should have something like 19be9a7.

  8. Test it locally by running yarn suite:dev and/or yarn suite:dev:desktop

  9. Freeze Suite. At this moment you are all good to Freeze and forward to QA. They should be able to test Suite in its wholeness along with the new firmwares.