Skip to content

Add the release workflow and the publishing guide - #20

Merged
sputier merged 1 commit into
mainfrom
release/publishing-workflow
Nov 19, 2026
Merged

sputier merged 1 commit into
mainfrom
release/publishing-workflow

Conversation

@sputier

@sputier sputier commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

A Release workflow, started by a tag v*:

  • check: the tag is on main, the CI passed on the tagged commit, the tag equals <Version> of the project, and the changelog has a section for it;
  • test and pack: tests, then a pack in a job of its own, with a check of the content of the package (library, documentation file, readme, no dependency) and the notes of the release taken from the changelog;
  • publish: waits for the approval of the nuget environment, gets a temporary key from nuget.org by trusted publishing (no key is stored), pushes the package and its symbols, and creates the GitHub release.

RELEASING.md describes the one-time setup (trusted publishing policy on nuget.org, the nuget environment and its NUGET_USER value, protection of the v* tags) and the steps of a release. No tag is pushed by this change.

Closes #10.

A tag v* starts a workflow that checks the tag, tests, packs and publishes the package
to nuget.org by trusted publishing, then creates the GitHub release. RELEASING.md
describes the one-time setup.
@sputier
sputier merged commit 29ef162 into main Nov 19, 2026
4 checks passed
@sputier
sputier deleted the release/publishing-workflow branch November 19, 2026 01:12
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.

Release workflow and NuGet publication

1 participant