- Region overlay: arrow keys move, Shift+arrows resize, Ctrl for 1-pixel steps, Tab/Shift+Tab switch monitor, Enter/Esc; keys held as temporary hotkeys (arrows auto-repeat, callbacks run in press order). - LiveRegion behavior and Announcer: status text and notifications are announced to screen readers; notifications honour Windows' duration. - Hotkey recorder: Tab/Shift+Tab leave without saving (Shift+Tab was saved as the hotkey); buttons named with their mode and binding. - List items expose their badges; About cards named; disclaimer headings. - Tray icon: Enter / Shift+F10 after Win+B; page transitions follow Windows' animation setting; contrast colours in the region overlay. - ACCESSIBILITY.md, accessibility issue template, PR checklist, docs sync. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
4.4 KiB
Releasing CaptureImage
Last updated: 2026-10-19 (CaptureImage 2.0)
Releases are built by .github/workflows/release.yml from a
signed tag and published as a draft first. Nothing reaches users until a maintainer publishes
the draft.
1. Prepare the release pull request
- Make sure
mainis green. - On a branch (e.g.
chore/release-2.1.0):- set
<Version>inDirectory.Build.props— the single source of the version; the release workflow refuses a tag that doesn't match it; - rename
## [Unreleased]inCHANGELOG.mdto## [2.1.0] - YYYY-MM-DDand add a new empty## [Unreleased]above it. The workflow uses this section as the release notes shown in the app and on GitHub.
- set
- Open the pull request, let the required checks pass, squash-merge.
2. Tag
Tags must be signed (the main branch and v* tags are protected by rulesets; tags can't be moved
or deleted once pushed).
git switch main
git pull --ff-only
git tag -s v2.1.0 -m "CaptureImage v2.1.0"
git push origin v2.1.0
The workflow then:
- checks the tag is SemVer and equals
<Version>; - restores with lock files, builds, runs all tests;
- publishes the app (framework-dependent,
win-x64) and runs it with--smoke-test; - packs it with Velopack (
vpk, same version as the library): package idCaptureImage, main executableCaptureImage.App.exe, channelwin, shortcuts on the desktop and Start menu, the .NET 10 Desktop Runtime (minimum patch fromRUNTIME) as a prerequisite, full packages only; - adds a CycloneDX SBOM and
SHA256SUMS.txt, attests build provenance, and creates or updates a draft release with all assets.
Never change the package id, executable name, channel or shortcut set — installed copies would stop updating or end up with duplicate shortcuts.
3. Verify the draft
- Assets:
CaptureImage-win-Setup.exe,CaptureImage-win-Portable.zip,CaptureImage-<version>-full.nupkg,releases.win.json,assets.win.json,RELEASES,SHA256SUMS.txt,CaptureImage-<version>-sbom.cdx.json. gh attestation verify CaptureImage-win-Setup.exe --repo poli0981/captureimgsucceeds.- On a clean machine or Windows Sandbox: Setup installs (and installs the .NET runtime if missing), the app starts, About shows the new version.
- Update path: install the previous release, then apply the new package
(
Update.exe apply --package <full.nupkg>in the install folder, or the in-app updater once published) — settings are kept and migrated. - The portable zip starts with
--smoke-test --data-dir <temp>and exits 0. - If the release changes the user interface: a quick pass with the keyboard alone and with
Narrator over the changed screens (see
ACCESSIBILITY.md); add the result to its testing record.
4. Publish
gh release edit v2.1.0 --draft=false
Publishing with your own token triggers release: published, which runs the announcement workflow.
Installed copies see the update on their next check.
5. When something goes wrong
- The workflow failed — fix the problem on
main, then re-run it for the same tag with Actions → Release → Run workflow (tag: v2.1.0,dry_run: false). It checks out the tag with the workflow frommain, so a broken tag doesn't need to be moved. Usedry_run: trueto build and pack without touching the release. - A bad release was published — publish a fixed patch release; don't delete the old one (users may be mid-update). Mark the bad one as pre-release or edit its notes if needed.
6. Code signing
The installer isn't Authenticode-signed yet (the SignPath application was declined), so SmartScreen
warns about an unknown publisher. Users can verify downloads with SHA256SUMS.txt or the
build-provenance attestation — see legal/DISCLAIMER.md, section 7. When a
certificate becomes available (SignPath, Azure Artifact Signing or a CA), sign with vpk pack --signTemplate / --azureTrustedSignFile and update the disclaimer.
7. Versioning
Semantic Versioning: major for breaking changes to behavior, settings or
supported systems; minor for new features; patch for fixes. Pre-releases use a suffix
(v2.1.0-beta.1) and are marked as pre-releases automatically; the in-app updater ignores them.