Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 562 Bytes

RELEASING.md

File metadata and controls

9 lines (8 loc) · 562 Bytes

Releasing

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