Repository navigation
Add the release workflow and the publishing guide - #20
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
Releaseworkflow, started by a tagv*:main, the CI passed on the tagged commit, the tag equals<Version>of the project, and the changelog has a section for it;nugetenvironment, 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.mddescribes the one-time setup (trusted publishing policy on nuget.org, thenugetenvironment and itsNUGET_USERvalue, protection of thev*tags) and the steps of a release. No tag is pushed by this change.Closes #10.