|
| 1 | +# ThreadPilot Pre-Tag Release Checklist |
| 2 | + |
| 3 | +Use this checklist before creating a release tag. It is aligned with local build scripts and the GitHub release workflow. |
| 4 | + |
| 5 | +## Release Meta |
| 6 | + |
| 7 | +- [ ] Target version: 1.1.1 |
| 8 | +- [ ] Target tag: v1.1.1 |
| 9 | +- [ ] Branch is correct for release |
| 10 | +- [ ] Working tree is clean (except intentionally ignored artifact files) |
| 11 | + |
| 12 | +## 1) Artifact Cleanup (Local) |
| 13 | + |
| 14 | +Goal: keep only 1.1.1 artifacts in artifacts/release. |
| 15 | + |
| 16 | +- [ ] Delete old installer: artifacts/release/installer/ThreadPilot_v1.1.0_Setup.exe |
| 17 | +- [ ] Delete old msix: artifacts/release/msix/ThreadPilot_1.1.0.0_win-x64.msix |
| 18 | +- [ ] Delete old zips: artifacts/release/ThreadPilot_v1.1.0_Installer.zip, artifacts/release/ThreadPilot_v1.1.0_Portable.zip |
| 19 | +- [ ] Delete temporary staging dirs: artifacts/release/package-stage, artifacts/release/_stage_installer, artifacts/release/_stage_portable |
| 20 | + |
| 21 | +Expected state: |
| 22 | + |
| 23 | +- [ ] artifacts/release/installer/ThreadPilot_v1.1.1_Setup.exe |
| 24 | +- [ ] artifacts/release/msix/ThreadPilot_1.1.1.0_win-x64.msix |
| 25 | +- [ ] artifacts/release/packages/ThreadPilot_v1.1.1_Installer.zip |
| 26 | +- [ ] artifacts/release/packages/ThreadPilot_v1.1.1_Portable.zip |
| 27 | + |
| 28 | +## 2) Build Gates (Must Pass) |
| 29 | + |
| 30 | +Run from repository root. |
| 31 | + |
| 32 | +Commands: |
| 33 | + |
| 34 | + dotnet restore "ThreadPilot_1.sln" |
| 35 | + dotnet build "ThreadPilot_1.sln" --configuration Release --no-restore |
| 36 | + dotnet test "ThreadPilot_1.sln" --configuration Release --no-build |
| 37 | + |
| 38 | +- [ ] Restore passed |
| 39 | +- [ ] Build passed |
| 40 | +- [ ] Tests passed |
| 41 | + |
| 42 | +## 3) Packaging Gates (Local) |
| 43 | + |
| 44 | +Commands: |
| 45 | + |
| 46 | + ./build/build-installer.ps1 -Version "1.1.1" |
| 47 | + dotnet publish "ThreadPilot.csproj" --configuration Release -p:PublishProfile=WinX64-MSIX |
| 48 | + ./build/package-release-zips.ps1 -Version "1.1.1" |
| 49 | + |
| 50 | +- [ ] Installer generated in artifacts/release/installer |
| 51 | +- [ ] MSIX generated in artifacts/release/msix |
| 52 | +- [ ] Zip packages generated in artifacts/release/packages |
| 53 | +- [ ] Inno Setup warnings target is zero (artifacts/release/installer_iscc_setup.log) |
| 54 | + |
| 55 | +## 4) Naming Gate (Local vs CI) |
| 56 | + |
| 57 | +Local script naming (package-release-zips.ps1): |
| 58 | + |
| 59 | +- [ ] ThreadPilot_v1.1.1_Installer.zip |
| 60 | +- [ ] ThreadPilot_v1.1.1_Portable.zip |
| 61 | + |
| 62 | +GitHub workflow naming (release.yml package step): |
| 63 | + |
| 64 | +- [ ] ThreadPilot_v1.1.1_singlefile_win-x64.zip |
| 65 | +- [ ] ThreadPilot_v1.1.1_readytorun_win-x64.zip |
| 66 | + |
| 67 | +Note: naming differs by channel (local script vs CI workflow). Validate the expected set for the channel you are releasing from. |
| 68 | + |
| 69 | +## 5) Hash + Signature Gate |
| 70 | + |
| 71 | +Generate and verify SHA256 hashes: |
| 72 | + |
| 73 | +Commands: |
| 74 | + |
| 75 | + $hashFile = "artifacts/release/SHA256SUMS.txt" |
| 76 | + if (Test-Path $hashFile) { Remove-Item $hashFile -Force } |
| 77 | + |
| 78 | + $releaseFiles = @() |
| 79 | + $releaseFiles += Get-ChildItem "artifacts/release/packages" -File -ErrorAction SilentlyContinue |
| 80 | + $releaseFiles += Get-ChildItem "artifacts/release/installer/*.exe" -File -ErrorAction SilentlyContinue |
| 81 | + $releaseFiles += Get-ChildItem "artifacts/release/msix" -Recurse -File -Include *.msix,*.appx,*.msixbundle,*.appxbundle -ErrorAction SilentlyContinue |
| 82 | + |
| 83 | + $releaseFiles | ForEach-Object { |
| 84 | + $hash = Get-FileHash $_.FullName -Algorithm SHA256 |
| 85 | + "$($hash.Hash) $($_.Name)" | Out-File -FilePath $hashFile -Append -Encoding utf8 |
| 86 | + } |
| 87 | + |
| 88 | +- [ ] SHA256SUMS.txt generated |
| 89 | +- [ ] Every shipped artifact has one hash row |
| 90 | + |
| 91 | +If signing is enabled: |
| 92 | + |
| 93 | +- [ ] Authenticode signature is valid (Get-AuthenticodeSignature) |
| 94 | +- [ ] Timestamp present (DigiCert or equivalent) |
| 95 | + |
| 96 | +## 6) Smoke Test Installation |
| 97 | + |
| 98 | +Portable smoke test: |
| 99 | + |
| 100 | +Commands: |
| 101 | + |
| 102 | + $tmp = "$env:TEMP/ThreadPilot_Smoke_$(Get-Random)" |
| 103 | + Expand-Archive "artifacts/release/packages/ThreadPilot_v1.1.1_Portable.zip" -DestinationPath $tmp -Force |
| 104 | + Test-Path "$tmp/ThreadPilot.exe" |
| 105 | + |
| 106 | +- [ ] Portable archive extracts correctly |
| 107 | +- [ ] ThreadPilot.exe exists and starts |
| 108 | + |
| 109 | +Installer smoke test: |
| 110 | + |
| 111 | +- [ ] Run artifacts/release/installer/ThreadPilot_v1.1.1_Setup.exe |
| 112 | +- [ ] Install completes without errors |
| 113 | +- [ ] Start menu and/or desktop shortcut launches app |
| 114 | +- [ ] Uninstall path works |
| 115 | +- [ ] Theme is coherent on first launch (system dark -> dark UI + checked setting) |
| 116 | + |
| 117 | +## 7) Pre-Tag Final Gate |
| 118 | + |
| 119 | +- [ ] All gates above are green |
| 120 | +- [ ] Release notes prepared |
| 121 | +- [ ] Optional signing decision documented (signed/unsigned) |
| 122 | + |
| 123 | +Create tag only after all checks pass: |
| 124 | + |
| 125 | +Commands: |
| 126 | + |
| 127 | + git tag -a v1.1.1 -m "Release ThreadPilot v1.1.1" |
| 128 | + git push origin v1.1.1 |
0 commit comments