# Release checklist [Documentation](README.md) · [Release hashes](RELEASES.md) · [Deployment](DEPLOYMENT.md) Prepare releases from a reviewed commit in an isolated checkout. Test only synthetic vaults, and do not publish debug/probe builds or private test artifacts. Vordr has no automatic updater, so clear release notes and security advisories are part of the release work. ```mermaid flowchart LR A["Review and test"] --> B["Build reproducible executable"] B --> C["Package and test MSI"] C --> D["Tag and publish exact artifacts"] D --> E["Generate and validate WinGet manifests"] D --> F["Vendor submissions and release notes"] ``` ## 1. Review and test - [ ] Confirm the selected commit and version resource in `vordr.rc`. - [ ] Review changes since the last release, including effects on published versions. - [ ] Update user/reference docs and release notes. - [ ] Run `tests\run_all.cmd` in a safe test environment. It stops Vordr processes and replaces build outputs; see [Development](DEVELOPMENT.md). - [ ] Inspect every stage and skip. Do not treat “ALL STAGES PASSED” with missing Python, installer tooling, or desktop checks as complete release evidence. - [ ] Exercise GUI unlock, edit/save/retry, lock, preview cleanup, import/export, backup restoration, and policy behavior with synthetic data. ## 2. Produce the executables (x64 + ARM64) - [ ] Run `powershell -NoProfile -ExecutionPolicy Bypass -File tools\verify_repro.ps1`. It builds both `vordr.exe` (`release strict`) and `vordr-arm64.exe` (`release`) twice from clean objects and requires identical hashes, intact mitigations (ASLR, DEP, HEVA, `_ROINIT`, and x64 CET), and a matching `bin\SHA256SUMS.txt`. Investigate any difference before going on. - [ ] Optionally repeat in a second clean checkout of the same commit. - [ ] Record the source commit, MSVC/SDK/LLVM toolchain versions, build commands, and SHA-256 hashes for both `vordr.exe` and `vordr-arm64.exe`. - [ ] Run `bin\vordr.exe selftest`, `python tests\verify_crypto.py --exe bin\vordr.exe`, and the ARM64 Unicorn crypto/E2E suites (`tests\arm64\test_sha.py`, `test_blake2b_argon2.py`, `test_aesgcm.py`, `test_arm64_e2e.py`) against the exact binaries being published. - [ ] Confirm no `dbg`, `probeio`, or `guishow` flags were used. The gate's normal restored build is not the final reproducible release artifact. Build the intended release binaries explicitly before packaging them. ## 3. Package and test the universal MSI The gate includes universal MSI creation and table/costing verification, but does not perform a real installation. Repeat packaging against the exact final release executables (`bin\vordr.exe` and `bin\vordr-arm64.exe`), not stale or diagnostic builds. ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File tools\make_msi.ps1 powershell -NoProfile -ExecutionPolicy Bypass -File tools\verify_msi.ps1 -Msi bin\vordr-X.Y.Z.msi ``` Replace `X.Y.Z` with the release version. - [ ] Verify tables, policy components, 64-bit registry view, 5-column `MsiLockPermissionsEx` SDDL rules, live `LaunchConditions` guards, dual-arch (`AMD64`/`ARM64`) costing, and upgrade/downgrade range. - [ ] In isolated x64 and ARM64 test environments, install over the previous release and confirm the native binary is deployed and exactly one Vordr entry remains in installed applications. - [ ] Test same-version replacement if repackaging is part of the workflow. - [ ] Repeat policy properties on upgrade; verify only requested settings are locked. - [ ] Verify the shortcut and quoted `.vordr` association with a path containing spaces. - [ ] Confirm the installed executable's hash matches the final release executable. - [ ] Uninstall and verify vaults and HKCU user data remain. - [ ] Record the MSI hash and ProductCode separately. Keep the UpgradeCode unchanged. Use an elevated shell for silent per-machine installation. Administrative extraction (`msiexec /a`) alone does not exercise installation or upgrade logic. ## 4. Tag and publish - [ ] Create an annotated version tag pointing to the reviewed, built commit. - [ ] Add its executable hash and commit to [RELEASES.md](RELEASES.md). - [ ] When GitHub Immutable Releases is enabled, create the GitHub Release as a **draft** (`draft: true`), upload all exact tested release assets (`vordr.exe`, `vordr-arm64.exe`, `vordr-X.Y.Z.msi`, `SHA256SUMS.txt`), confirm every asset is attached, and only then publish (`draft: false`) so the immutable release seals with all artifacts intact. - [ ] State supported Windows/CPU requirements and changes from the previous release. - [ ] Label known affected/superseded versions without deleting or moving their tags. - [ ] Download the published files and compare them with the tested bytes. A tag permanently identifies a source state. Hash documentation can be added after tagging, but must clearly describe the tagged build rather than the documentation commit. ## 5. Submit the WinGet update Generate manifests from the **published MSI bytes**, not a locally rebuilt MSI. Rebuilding produces a new ProductCode and hash even with the same executable. ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File tools\make_winget.ps1 -Url https://github.com/xxtsxx/Vordr/releases/download/vX.Y.Z/vordr-X.Y.Z.msi -Msi bin\vordr-X.Y.Z.msi -ReleaseDate YYYY-MM-DD winget validate --manifest bin\winget\X.Y.Z ``` Replace the version and date placeholders. Pass `-Msi` explicitly to avoid accidentally selecting a different local package. - [ ] Verify version, URL, SHA-256, ProductCode, and release date. - [ ] Confirm all three files have the correct schema-reference comment: `version`, `installer`, and `defaultLocale`, matching `ManifestVersion`. - [ ] Preserve CRLF endings and UTF-8 without a byte-order mark, matching Microsoft's manifest generator. Run `python -m unittest discover -s tests -p test_winget.py` on Windows to check the writer's encoding and newline handling. - [ ] Run local validation and test the manifest in an isolated installation. - [ ] Submit one version under `manifests/t/ThomasSmistad/Vordr/X.Y.Z/` in `microsoft/winget-pkgs`. - [ ] Read reviewer comments and remote validation results. Local validation does not guarantee repository-policy validation. - [ ] Record the PR link, confirm validation and moderator approval, and wait for merge and a successful publish pipeline. - [ ] Query the live community source and confirm the intended version, installer URL, and hash before announcing WinGet availability: ```powershell winget source update --name winget winget show --id ThomasSmistad.Vordr --exact --source winget --version X.Y.Z ``` - [ ] Record the publication date and PR link in [RELEASES.md](RELEASES.md). Repeat this process for each new release; GitHub publication alone is not WinGet publication. The 0.2.3 submission required schema-reference headers and was updated to schema 1.12.0. Remote schema validation still failed while local validation passed; removing the UTF-8 byte-order marks was the change after which remote validation succeeded. Preserve BOM-less UTF-8 and CRLF output from the generator. A generic schema error alone does not establish a service outage. Merge and publication were confirmed on 2026-09-14; see [the record](RELEASES.md#winget-publication). ## 6. Vendor submissions - [ ] Submit each new public executable (`vordr.exe` and `vordr-arm64.exe`) and the universal MSI to Microsoft's [file submission portal](https://www.microsoft.com/en-us/wdsi/filesubmission) and relevant vendors, using their current process. - [ ] Include the exact hashes and any observed detection names. - [ ] If using a public multi-engine service, upload only intended public release artifacts, never vaults or user data. - [ ] Record dates and responses in [ANTIVIRUS.md](ANTIVIRUS.md) or release notes. - [ ] Distinguish a submitted sample, an awaiting response, and an actual vendor determination. Do not promise clearance or a response time. ## 7. Security-relevant released defects Follow [SECURITY.md](../SECURITY.md), including coordinated disclosure. - [ ] Identify the affected and fixed versions. - [ ] Publish a GitHub Security Advisory when a released defect exposes data, weakens encryption, or loses data, including maintainer-discovered defects. - [ ] Request a CVE through the advisory when exploitation is available to someone other than the vault owner. - [ ] Mark affected versions beside their hashes in [RELEASES.md](RELEASES.md). - [ ] Ship a new release; retain the old tag and explain the upgrade path. Package managers and enterprise inventories can help users discover updates or advisories, but their coverage is not guaranteed. Do not imply that Vordr itself notifies all installed users.