- Update the copyright year in the license file, if required.
- Prepare a corresponding entry in the changelog (usually by renaming the "Unreleased" section).
- Set
<Version>
in theDirectory.Build.props
file. - Update the copyright year in
Directory.Build.props
, if required. - Merge the aforementioned changes via a pull request.
- Push a tag in form of
v<VERSION>
, e.g.v0.0.1
. GitHub Actions will do the rest (push a NuGet package).
$ dotnet pack XamlMath.All.sln --configuration Release
(Use XamlMath.Portable.sln
on Unix-like operating systems; note you won't be able to build and pack the WPF-specific part of the code, though.)
$ dotnet nuget push ./src/WpfMath/bin/Release/WpfMath.<VERSION>.nupkg --source https://api.nuget.org/v3/index.json --api-key <YOUR_API_KEY>
$ dotnet nuget push ./src/AvaloniaMath/bin/Release/AvaloniaMath.<VERSION>.nupkg --source https://api.nuget.org/v3/index.json --api-key <YOUR_API_KEY>
Generally, XAML-Math supports the .NET runtime (.NET Framework or modern .NET) versions that are supported by Microsoft (both basic and extended support are considered), provided that the support cost for the very old versions is reasonable. We will stop support for the currently supported runtime version either after it gets unsupported, or when we consider support cost unreasonable.
Removing .NET runtime version from the list of compatible versions is a breaking change (as far as semantic versioning is concerned).
For reference, see the .NET support dates list.