Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 944 Bytes

File metadata and controls

20 lines (14 loc) · 944 Bytes

Release Steps

If you want to make a new release of CSharpRepl:

  1. Pull the latest main branch.
  2. Increment the <Version> in CSharpRepl/CSharpRepl.csproj.
  3. Add a ## Release <version> section to the top of CHANGELOG.md describing the changes.
  4. Make a pull request with the above, and merge it into main.
  5. From an up-to-date main, run ./publish-release.ps1.

The script verifies your checkout is clean and up to date, reads the version from the csproj, and (after a confirmation prompt) creates and pushes a v<version> git tag.

Pushing the tag triggers .github/workflows/release.yml, which:

  • packs the platform-specific ReadyToRun tool and pushes the NuGet packages to nuget.org, and
  • creates a GitHub release for the tag, using the matching ## Release <version> section of CHANGELOG.md as the release notes.

Nothing is published until you push the tag, so bumping the version in a PR is safe on its own.