Files
octokit.net/docs/shipping-releases.md
2016-02-02 18:17:54 +10:30

1.1 KiB

Shipping an Octokit Release

Pre-requisites

  • Visual Studio 2013 Update 4
  • Debugging Tools for Windows (install via Chocolatey - cinst windbg)

Running Tests

Due to how long it takes to run the integration tests, I usually run these in groups in Visual Studio.

If, however, you still want to do this, it's available from the command line:

.\build IntegrationTests

If you want to avoid these tests, or get faster feedback, you can run the other tests:

.\build UnitTests .\build ConventionTests

Signing Assemblies

TODO

Create NuGet Packages

To generate the NuGet packages, you also need to setup the SourceLink tools.

Set this for the repository:

git config core.autocrlf input

If you already have an existing repository, just run these steps to ensure you're using the right line endings:

git rm -r --cached . git reset --hard

Once you've done that, just run this:

.\build CreatePackages

This will build the assemblies, index the symbols and create the packages. The output .nupkg files will be located in the packaging directory.