Drop the trackdubllc NUGET_USER fallback in the release workflow

Merged
TO
10d ago
+12-1

Removes the 'trackdubllc' fallback from the NuGet/login step's user in release.yml.

  • Why: the NUGET_USER secret supplies the nuget.org username, and the v0.6.0 rerun used it. The fallback named the repository's previous owner. Trusted Publishing needs the username of whoever created the policy, so the fallback could only ever produce the token-exchange 401 ("No matching trust policy owned by user …").
  • Now: a Check NuGet user step comes before the login. If neither vars.NUGET_USER nor secrets.NUGET_USER is set, it fails with an error that names the setting.

Only release.yml changes. It runs on v* tags, so it takes effect at the next release.

šŸ¤– Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • NuGet publishing now stops with a clear error when the account name is missing, rather than attempting to log in with a default account.
    • Publishing requires the account name to be configured as a repository variable or secret.