If you want to make a new release of CSharpRepl:
- Pull the latest
mainbranch. - Increment the
<Version>inCSharpRepl/CSharpRepl.csproj. - Add a
## Release <version>section to the top ofCHANGELOG.mddescribing the changes. - Make a pull request with the above, and merge it into
main. - 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 ofCHANGELOG.mdas the release notes.
Nothing is published until you push the tag, so bumping the version in a PR is safe on its own.