- Update the copyright year in the
LICENSE.md
file, if required. - Prepare a corresponding entry in the
CHANGELOG.md
file (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
$ 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>
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:
- Sign in onto nuget.org.
- Go to the API keys section.
- Update the existing or create a new key named
xaml-math.github
with a permission to Push only new package versions and only allowed to publish the following packages:- AvaloniaMath,
- WpfMath,
- XamlMath.Shared.
- Paste the generated key to the
NUGET_TOKEN
variable on the action secrets section of GitHub settings.
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.