-
Notifications
You must be signed in to change notification settings - Fork 234
Thorium release workflow
Daniel Weck edited this page May 14, 2021
·
2 revisions
In a nutshell:
- everything works on the
developbranch (tested in Windows, Linux and MacOS) - create new CHANGELOG markdown (which will form the basis for the notes in the GitHub tagged release)
- version bump in
package.json,src/package.jsonandpackage-lock.json - create and push release tag (see the "Git release tag for GitHub releases" page in this wiki)
- merge into
master(git checkout master && git merge develop && git push) - come back to
developbranch, version bump to new "alpha" (e.g. fromv1.7.0tov1.7.1-alpha.1),git commit -a -m "chore(release): version bump alpha" && git push
Plaftorms:
- On Linux,
npm run package:linuxgenerates a Debian package and an AppImage which are both to be uploaded to the GitHub release. There is no code signing. - On MacOS,
npm run package:maclooks for a signing certificate in KeyChain, and there is notarization via Apple's servers (long upload time). The generated DMG is to be uploaded to the GitHub release. - On Windows,
npm run package:wingenerates an unsigned APX (which will be signed during App Store submission), and an unsigned NSI installer (EXE).
See the "Code Signing" page in this wiki for further information.
LCP:
The external-assets/lcp.node binary file (native NodeJS library) must be carefully used, the PRODUCTION version must be placed in this folder, not the DEVELOPMENT version. The EDRLab Google Drive contains a "LCP Builds" folder which contains thorium-lcp-1.0.diff and thorium-lcp-1.0.diff.txt to help create a lcp-patch branch (or any other name) which MUST be used instead of the develop branch in order to generate the production-ready Linux, Windows and MacOS build artefacts.