Commit Graph
3 Commits
Author SHA1 Message Date
poli0981andClaude Opus 4.8 5236ceb5a3 fix(release): SHA-256 checksums step produced an empty file
`Get-ChildItem -Path <dir> -Exclude 'checksums.txt'` returns nothing without
a trailing wildcard or -Recurse (a PowerShell quirk), so checksums.txt was
empty and `gh release upload` failed with HTTP 400 (Bad Content-Length) in the
v1.0.0 run. Filter with Where-Object instead. The release artifacts themselves
(Setup.exe, full nupkg, portable zip, RELEASES, manifest) published fine.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 20:11:09 +07:00
poli0981andClaude Opus 4.8 a2e44e1e3b deps: bump dependencies and GitHub Actions (consolidates Dependabot PRs)
Consolidates the eight open Dependabot PRs (#14-#21) into one change to
avoid the workflow-file conflicts they have with each other.

NuGet:
- Microsoft.Windows.CsWin32 0.3.296 -> 0.3.298
- Microsoft.NET.Test.Sdk 17.14.1 -> 18.6.0
- coverlet.collector 6.0.4 -> 10.0.1
- xunit.runner.visualstudio 3.1.4 -> 3.1.5

GitHub Actions:
- actions/checkout 4 -> 6
- actions/setup-dotnet 4 -> 5
- github/codeql-action 3 -> 4
- crazy-max/ghaction-virustotal 4 -> 5 (vt_api_key/files/update_release_body
  inputs verified unchanged in v5)

0-warning Release build; 105 tests pass; actionlint clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 20:06:44 +07:00
poli0981andClaude Opus 4.8 f0d62490f2 Phase 6c: CI/CD, Velopack release pipeline, version-flow fix, build/update docs
Workflows (.github/workflows/):
- build.yml: Windows restore + dotnet format --verify + Release build
  (0-warning gate) + tests, on PR/push to main.
- codeql.yml: project-specific CodeQL C# (Windows, builds CommandForge.slnx).
  The shared reusable codeql-csharp.yml runs on Linux and expects a .sln, so
  it cannot build this WPF/.slnx app.
- release.yml: on tag v*, install vpk, download the previous release for the
  delta base (continue-on-error on first release), publish self-contained +
  vpk pack, publish the GitHub Release (vpk upload github), attach SHA-256
  checksums.txt, and optionally submit to VirusTotal (gated on VT_API_KEY).
- announce-release.yml + notify-ci-failure.yml: thin callers of the reusable
  Discord workflows in poli0981/.github (secrets: inherit).
- dependabot.yml: weekly nuget + github-actions updates.

Fix: scripts/pack.ps1 now passes -p:Version/-p:InformationalVersion to
dotnet publish, so the in-app "App version" matches the release tag instead of
defaulting to 1.0.0.

Docs (English, public): BUILD.md, RELEASING.md, UPDATES.md — including the
Velopack update mechanism (first vs subsequent release and how deltas are
produced) and the required repo secrets.

No source changes; 0-warning Release build, 104 tests pass; actionlint clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 19:27:49 +07:00