Pre-requisits: Make sure to have .net installed ( download from here )
- Change the version in
Analytics/Analytics.csproj
. - Update the version in
Analytics/Analytics.cs
. dotnet pack -o . -c Release Analytics/Analytics.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 Analytics/Analytics.csproj
to build.dotnet nuget push Analytics.{X.Y.Z}.nupkg -s https://www.nuget.org/api/v2/package -k <NUGET_API_KEY>
git push origin master
to push the last commitgit push --tags
to push the release tag- Goto here and create a release from the pushed tag