- Update the Git submodule containing the sources, make sure everything builds correctly.
- Update the license, if required.
- Update the copyright year in the
copyright
section of thetdlib.native.nuspec
file. - Update the version in the following places:
.github/workflows/main.yml
:PACKAGE_VERSION_BASE
environment variable (2 occurrences)common/download-release.ps1
:$Version
variable default valuecommon/nuget-pack.ps1
:$Version
variable default value.appveyor.yml
:test_script
section (2 occurrences)
- Update the
releaseNotes
element in thetdlib.native.nuspec
file. - Create a pull request, verify that the tests are okay.
- Push a version tag (
v1.x.x
) to this repository. CI servers will do their job and upload the artifacts to the Releases page. - Copy the release notes from the
.nuspec
to the GitHub release. - Mark the GitHub release as published.
- Pack and upload the NuGet, as described below.
- Attach the
.nupkg
to the GitHub release.
Pack script requires NuGet 5 to be installed on a machine.
$ pwsh ./common/download-release.ps1
$ pwsh ./common/nuget-pack.ps1
Then upload the build/tdlib.native.<VERSION>.nupkg
to the NuGet server.