diff --git a/docs/builds.md b/docs/builds.md index 78776a2..0c1ede7 100644 --- a/docs/builds.md +++ b/docs/builds.md @@ -22,7 +22,8 @@ Procedure, in the RuneStone repository root: 2. Run `pnpm check`. 3. Run `pnpm test`. 4. Select the version with the [version policy](releases.md#versions). -5. Run `pnpm build:installer --version `. +5. Run `pnpm build:installer --version --dry-run`. Make sure that the plan shows the correct versions. A dry run changes no file. +6. Run `pnpm build:installer --version `. Without `--version`, the script uses the version in `package.json`. @@ -43,32 +44,37 @@ Example, from the 0.1.44 download link in the README: version `0.1.44` gives `re Source: `scripts/buildInstaller.mjs`. 1. Reads the version and makes sure that all version fields match the current version. -2. Makes sure that downgrade protection stays on in `tauri.conf.json` and `tauri.windows.conf.json`, and that the browser runtime is staged. +2. Makes sure that downgrade protection stays on in `tauri.conf.json` and `tauri.windows.conf.json`. + Makes sure that `tauri.windows.conf.json` names the installer hooks and that the browser runtime is staged. 3. Stops if the setup file or `host.json` exists in the bundle folder or in `releases//`. + A dry run prints the plan and stops here. 4. Saves copies of the four version files as `*.before` in `output/installer-build//