- Change the version in
PostHog.NET/PostHog.NET.csproj
. - Update the version in
PostHog.NET/Constants.cs
. dotnet pack -o . -c Release PostHog.NET/PostHog.NET.csproj
to verify the build.git commit -am "Release X.Y.Z."
(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)dotnet pack -o . -c Release PostHog.NET/PostHog.NET.csproj
to build.dotnet nuget push PostHog.NET.{X.Y.Z}.nupkg -s https://www.nuget.org/api/v2/package -k <NUGET_API_KEY>
or upload manually