- CHANGELOG: the 2.0.0 entry, plus the missing 1.5.1 compare link and a corrected [Unreleased] link. - USAGE.md: a user guide for the new UI (the app's "User guide" link already points here). - README: features as of 2.0 (261 commands, 12 categories, five languages, Fluent UI), download verification with `gh attestation verify`, and a contact table. - Contact addresses on poli0981.dev: security@ (SECURITY.md, next to private vulnerability reporting), privacy@ (PRIVACY.md), legal@ (EULA, DISCLAIMER), copyright@/dmca@/takedown@ (a new takedown section in DISCLAIMER), code@ (CONTRIBUTING, CODE_OF_CONDUCT, MAINTAINERS). - SECURITY: the current threat model and its known limits (per-user install, the winget alias), release attestations, SBOM and scanners. - PRIVACY: every local file the app keeps, what the logs contain, and how the update check and bug reports work. - BUILD, RELEASING, UPDATES: versions in each .csproj, the pinned vpk tool, pack.ps1 options, the CI workflows and rulesets, signed tags, the draft-then-publish release flow, and the new update behavior. - THIRD-PARTY-NOTICES: WPF-UI and Fluent System Icons in, Material Design and Hosting out, current versions and build-time tools. - CONTRIBUTING and the PR template: signed commits, required checks, five .resx files, catalog rules. The bug template points at More > About. - CLAUDE.md: rule 6 allows provenance attestations; stack, namespace and conventions for v2. The EULA's terms are unchanged (still version 1.1), so nobody is asked to accept them again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.3 KiB
Releasing CommandForge
Releases are automated by release.yml, triggered by pushing a
SemVer tag.
Steps
-
Make sure
mainis green and contains everything for the release. -
Choose a SemVer version
X.Y.Z. In a pull request, move the[Unreleased]notes in CHANGELOG.md under## [X.Y.Z] — <date>, add the compare link at the bottom, and set<Version>inDirectory.Build.props(the dev-build default; the release build stamps the tag's version anyway). Merge it. -
Tag the merge commit on
mainwith a signed, annotated tag and push it:git switch main && git pull git tag -s vX.Y.Z -m "CommandForge X.Y.Z" git push origin vX.Y.ZThe
release tagsruleset protectsv*tags: once pushed, a release tag can't be moved or deleted (only a repository admin can bypass this). -
The Release workflow runs on
windows-latestand:- resolves the version from the tag (
vX.Y.Z→X.Y.Z); - restores the pinned
vpktool and downloads the previous release so a delta package can be computed; - publishes and packages with Velopack (
scripts/pack.ps1); - creates build-provenance attestations for
Setup.exeand the.nupkgfiles; - uploads everything as a draft GitHub Release, attaches the SPDX SBOM
(
sbom.spdx.json) andchecksums.txt(SHA-256), then publishes it as the latest release — installed copies only see the update once every asset is in place; - if
VT_API_KEYis set, submitsSetup.exeand the full package to VirusTotal and appends the scan links to the release notes; - calls the shared announcer (
poli0981/.github) to post the release to Discord.
- resolves the version from the tag (
-
Check the release page: the assets are all there, and the attestation verifies:
gh release download vX.Y.Z --pattern "*-Setup.exe" gh attestation verify CommandForge-win-Setup.exe --repo poli0981/CommandForgeEdit the release notes if needed (changelog highlights). The SHA-256 and VirusTotal details are already attached.
You can also run the workflow manually (Actions → Release → Run workflow) with a version
input; the upload step then creates the vX.Y.Z tag.
Repository secrets
| Secret | Used for | Required |
|---|---|---|
GITHUB_TOKEN |
Create the release, upload assets, read the SBOM | automatic |
VT_API_KEY |
VirusTotal scan + links | optional (step skipped if unset) |
DISCORD_RELEASES_WEBHOOK (or DISCORD_REPO_WEBHOOK) |
Release announcement to Discord | optional |
DISCORD_PING_ROLE_ID |
Role ping on stable releases | optional |
DISCORD_CI_WEBHOOK |
Build-failure alerts to Discord | optional |
poli0981is a user account (not an org), so secrets are set per repository (Settings → Secrets and variables → Actions).
Code signing
Not done yet: releases ship without an Authenticode signature, so users may see a SmartScreen
"unknown publisher" warning. Mitigations: build-provenance attestations, SHA-256 checksums, an
SBOM, VirusTotal, no obfuscation, and public source. When Azure Trusted Signing (or SignPath
Foundation) is configured, add a signing step between dotnet publish and vpk pack in
scripts/pack.ps1, and update SECURITY.md.