Raygun for Blazor is published on NuGet as Raygun.Blazor.
This package follows semantic versioning,
Given a version number MAJOR.MINOR.PATCH (x.y.z), increment the:
- MAJOR version when you make incompatible changes
- MINOR version when you add functionality in a backward compatible manner
- PATCH version when you make backward compatible bug fixes
To learn more about semantic versioning check: https://semver.org/
Create a new branch named release/x.y.z
where x.y.z is the Major, Minor and Patch release numbers.
Update the Version and PackageVersion in the src/Version.props file.
Add a new entry in the CHANGELOG.md file.
Obtain a list of changes using the following git command:
git log --pretty=format:"- %s (%as)"
If everything succeeded, commit all the changes into a commit with the message chore: Release x.y.z
where x.y.z is the Major, Minor and Patch release numbers.
Then push the branch and open a new PR, ask the team to review it.
Once the PR has been approved, you can publish the provider.
The "Build and Pack NuGet Packages" CI Action takes care of building the packages and archiving the files.
To download the archived packages:
- Go to the Actions tab on GitHub.
- Select the most recent "Build and Pack NuGet Packages" workflow run for your release branch.
- Scroll down to the "Artifacts" section at the bottom of the workflow run summary.
- Click on the artifact(s) to download the packaged
.nupkgfiles.
You will need https://www.nuget.org/ credentials to publish, as well as being part of the Raygun organization.
Upload the packages generated previously.
Uploading the package is a manual process, and needs to be done for the four packages.
With the PR approved and the packages published,
squash and merge the PR into main.
Go to https://github.com/MindscapeHQ/raygun4blazor/releases and create a new Release.
GitHub will create a tag for you, you don't need to create the tag manually.
You can also generate the release notes automatically.