diff --git a/Documentation/ConsumeNightlyBuild.md b/Documentation/ConsumeNightlyBuild.md new file mode 100644 index 0000000..cf50603 --- /dev/null +++ b/Documentation/ConsumeNightlyBuild.md @@ -0,0 +1,56 @@ +# Consume nightly build + +You can check metadata of nightly build packages here: + +Msbuild https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild +VSTest collector https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.collector +.Net tools https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.console + +To consume nightly build create a `NuGet.Config` on your root solution directory and add following content +```xml + + + + + + + + + + + +``` + +### Install packages + +You can install nightly package using visual studio + +![File](images/nightly.PNG) + +Nuget(PM console) +``` +PM> Install-Package coverlet.msbuild -Version 2.6.25-g6209239d69 -Source https://www.myget.org/F/coverlet-dev/api/v3/index.json +``` + +.NET CLI +``` + dotnet add package coverlet.msbuild --version 2.6.25-g6209239d69 --source https://www.myget.org/F/coverlet-dev/api/v3/index.json +``` + +.csproj + +``` + +``` + +### How to verify version + +You can understand which version you're using comparing nightly build release date and repo commits. +For instance if we want to consume last msbuild nightly build: +* Go to https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild +* Scroll down the page and check release date +![File](images/nightly_1.PNG) +* Go to repo commits and compare date and first part of commit hash +![File](images/nightly_2.PNG) + +As you can see we build at 00.00 UTC and build takes some seconds, so it's possible that release date won't be the same of commit repo. \ No newline at end of file diff --git a/Documentation/images/nightly.PNG b/Documentation/images/nightly.PNG new file mode 100644 index 0000000..6e7bc58 Binary files /dev/null and b/Documentation/images/nightly.PNG differ diff --git a/Documentation/images/nightly_1.PNG b/Documentation/images/nightly_1.PNG new file mode 100644 index 0000000..a976ade Binary files /dev/null and b/Documentation/images/nightly_1.PNG differ diff --git a/Documentation/images/nightly_2.PNG b/Documentation/images/nightly_2.PNG new file mode 100644 index 0000000..705d70a Binary files /dev/null and b/Documentation/images/nightly_2.PNG differ diff --git a/README.md b/README.md index b985459..7406875 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,11 @@ _Note: The assembly you'd like to get coverage for must be different from the as If you're using [Cake Build](https://cakebuild.net) for your build script you can use the [Cake.Coverlet](https://github.com/Romanx/Cake.Coverlet) add-in to provide you extensions to dotnet test for passing Coverlet arguments in a strongly typed manner. +## Consume nightly build + +We offer nightly build of master for all packages. +See the [documentation](Documentation/ConsumeNightlyBuild.md) + ## Issues & Contributions If you find a bug or have a feature request, please report them at this repository's issues section. See the [CONTRIBUTING GUIDE](CONTRIBUTING.md) for details on building and contributing to this project.