Skip to content

Stamp release version onto published CLI binaries#20

Merged
pscheid92 merged 1 commit into
mainfrom
fix/publish-cli-version
Jul 23, 2026
Merged

Stamp release version onto published CLI binaries#20
pscheid92 merged 1 commit into
mainfrom
fix/publish-cli-version

Conversation

@pscheid92

Copy link
Copy Markdown
Owner

The AOT dotnet publish step in publish.yml never received -p:Version, so the CLI binaries in every release shipped stamped with the placeholder 0.1.0 from Age.Cli.csproj, regardless of the tag. The NuGet pack step already threads the tag-derived version through; this does the same for the binary publish.

Verified locally that -p:Version=<x> lands in the produced assembly's informational version (0.2.0-preview.99+<sha>) with no stale 0.1.0 remaining.

The AOT publish step never received -p:Version, so the CLI binaries
shipped with the placeholder 0.1.0 from Age.Cli.csproj regardless of the
release tag. Pass the tag-derived version through, matching the NuGet
pack step. Verified the override lands in the assembly's informational
version.
@pscheid92
pscheid92 merged commit 88ba9b8 into main Jul 23, 2026
@pscheid92
pscheid92 deleted the fix/publish-cli-version branch July 23, 2026 13:35
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.28%. Comparing base (7937cde) to head (c9f1d5e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   91.28%   91.28%           
=======================================
  Files          42       42           
  Lines        2443     2443           
  Branches      322      322           
=======================================
  Hits         2230     2230           
  Misses        154      154           
  Partials       59       59           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant