Ensure every release passes all required verification steps before distribution. Walk through every item; all must pass before building the release.
Before executing the release build command. Every item checked = safe to build.
tauri.conf.json, electron-builder.json): version updatedCargo.toml, package.json for Electron main): version updatedpackage.json: version updatedAll three locations must have the same version number.
Version rules:
pnpm tauri icon src/app-icon.png)Do not manually replace individual icon files in the icons directory. Always regenerate from the single source.
pnpm test / npm testcargo test / backend test commandpnpm tsc --noEmitNODE_ENV=production skips mock)spectra list returns an empty list (or only intentionally parked changes)git status shows a clean working tree (no uncommitted changes)# Example commands (adjust for your framework)
pnpm tauri build # Tauri
npm run build # Electron
Output locations (verify these exist after building):
.app and .dmg (arm64 and x64 if applicable).msi or .exevX.Y.ZArtifact naming convention:
AppName-X.Y.Z-aarch64.dmg (macOS arm64)AppName-X.Y.Z-x86_64.dmg (macOS x64)AppName-X.Y.Z-x86_64.msi (Windows)Build failure: backend compilation error
cd src-tauri && cargo build --release # Tauri
# Read detailed error messages
Build failure: frontend build error
pnpm build # or: npm run build
# Read Next.js / Vite build error messages
App opens but shows blank screen
NODE_ENV=production (not development)macOS Gatekeeper blocks the app