- Update the project's status in the
README.mdfile, if required. - Update the copyright statement in the
LICENSE.txtfile, if required. - Update the copyright statement in the
Directory.Build.propsfile, if required. - Prepare a corresponding entry in the
CHANGELOG.mdfile (usually by renaming the "Unreleased" section). - Set
<Version>in theDirectory.Build.propsfile. - Merge the aforementioned changes via a pull request.
- Check if the NuGet keys are still valid (see the Rotate NuGet Publishing Keys section if they aren't).
- Push a tag in form of
v<VERSION>, e.g.v0.0.0. GitHub Actions will do the rest (push a NuGet packages).
CI relies on NuGet API keys being added to the secrets. From time to time, these keys require maintenance: they will become obsolete and will have to be updated.
To update the key:
-
Sign in onto nuget.org.
-
Go to the API keys section.
-
Update the existing or create a new key named
truepath.githubwith a permission to Push only new package versions and only allowed to publish the package TruePath.(If this is the first publication of a new package, upload a temporary short-living key with permission to add new packages and rotate it afterward.)
-
Update the existing or create a new key named
truepath.systemio.githubwith a permission to Push only new package versions and only allowed to publish the package TruePath.SystemIo.(If this is the first publication of a new package, upload a temporary short-living key with permission to add new packages and rotate it afterward.)
-
Paste the generated keys, correspondingly, to the
NUGET_TOKEN_TRUE_PATHandNUGET_TOKEN_TRUE_PATH_SYSTEM_IOvariables on the action secrets section of GitHub settings.