Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.72 KB

MAINTAINING.md

File metadata and controls

35 lines (27 loc) · 1.72 KB

Maintainer Guide

Publish a New Version

  1. Update the project's status in the README.md file, if required.
  2. Update the copyright statement in the LICENSE.txt file, if required.
  3. Update the copyright statement in the Directory.Build.props file, if required.
  4. Prepare a corresponding entry in the CHANGELOG.md file (usually by renaming the "Unreleased" section).
  5. Set <Version> in the Directory.Build.props file.
  6. Merge the aforementioned changes via a pull request.
  7. Check if the NuGet key is still valid (see the Rotate NuGet Publishing Key section if it isn't).
  8. Push a tag in form of v<VERSION>, e.g. v0.0.0. GitHub Actions will do the rest (push a NuGet package).

Rotate NuGet Publishing Key

CI relies on NuGet API key being added to the secrets. From time to time, this key requires maintenance: it will become obsolete and will have to be updated.

To update the key:

  1. Sign in onto nuget.org.

  2. Go to the API keys section.

  3. Update the existing or create a new key named truepath.github with 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.)

  4. Paste the generated key to the NUGET_TOKEN variable on the action secrets section of GitHub settings.