DevStackBoxDevStackBox

Release Runbook

Build, validate and publish the v0.1.22 Windows installer.

On this page

v0.1.22 release runbook

Run from the app repository root on Windows. Source preparation is not proof of a published or installer-qualified release. Follow Release process for acceptance gates.

Preflight

npm ci
npm run check
npm run test:packaging
cargo test --manifest-path src-tauri/Cargo.toml --lib
node scripts/test-apache-overrides.mjs --legacy
node scripts/test-apache-overrides.mjs
.\scripts\test-database-workspace.ps1

App version 0.1.22 must match package.json, Cargo.toml and tauri.conf.json. Keep the root package version in package-lock.json and the devstackbox package in Cargo.lock synchronized. Historical dependency versions are not app versions.

Build and finalize

The build stages phpMyAdmin from the unchanged upstream source using packaging/phpmyadmin-policy.json. The installer uses packaging/phpmyadmin-runtime, not the source directory. Review packaging/phpmyadmin-report.json for excluded files and retained hashes. Only pmahomme is bundled; translations, offline help, licenses and runtime dependencies remain. Existing customized files are preserved by hash-checked upgrade cleanup. Test a fresh install and an upgrade before publishing; build success does not qualify the installer by itself.

To refresh phpMyAdmin, supply an exact version and independently verified archive SHA-256 to scripts/refresh-phpmyadmin-bundle.ps1 using its Version and Sha256 parameters. The script retains the previous source for rollback and reruns payload staging. Never substitute an unverified digest just to bypass a checksum failure.

When the Windows PHP feed moves (including package revisions such as 8.3.36-1), stop Apache and PHP processes using the repo or install path, run .\scripts\refresh-php-bundle.ps1 -Branch 8.3, and commit the updated php/8.3/ tree including .devstackbox-release.json. verify-release.mjs requires that receipt before building an installer.

$env:TAURI_SIGNING_PRIVATE_KEY_PATH = "$env:USERPROFILE\.tauri\devstackbox.key"
npm run build:release
npm run finalize-release
node scripts/verify-updater-artifact.mjs

Supply the signing-key password through your private environment if required. Never commit or print key material. The build wrapper runs input verification, Tauri build and updater-artifact verification. It does not need MSI cleanup or termination of unrelated processes.

Finalization requires the exact installer bytes and signature. It generates release/notes-v0.1.22.md, both latest.json files, the changelog checksum and packaging metadata. Do not relabel previous hashes or signatures. Tauri updater signatures are separate from Windows Authenticode publisher signing.

Installer acceptance

Test the actual generated installer using the repository checklist docs/getting-started/local-install-test.md and Testing. Record results in docs/RELEASE-VALIDATION.md. Verify the real Laravel site on HTTP and HTTPS after upgrading and restarting Apache; synthetic rewrite tests alone do not qualify that site.

Publish after acceptance

gh release create v0.1.22 --verify-tag --title "DevStackBox v0.1.22" --notes-file "release/notes-v0.1.22.md" "src-tauri/target/release/bundle/nsis/DevStackBox_0.1.22_x64-setup.exe" "src-tauri/target/release/bundle/nsis/DevStackBox_0.1.22_x64-setup.exe.sig" "latest.json"
node scripts/finalize-release.mjs --verify-github v0.1.22

Create and push the reviewed v0.1.22 tag before the publish command. Stable releases must not be marked prerelease. Verify updates from v0.1.21, then publish the website with its app-doc source pinned to the same release. Keep download URLs, hashes and sizes sourced from the published GitHub assets.