Full automated build, test, stage and release pipeline for .NET projects based on Cake. Check also the template repository to see the pipeline in action!
Release | Package |
---|---|
Stable | |
Preview | Azure Artifacts |
- .NET 6.0 SDK
- [Linux and MacOS only] Mono 6 (for DocFX)
The following target are available for build, test and release.
-
BuildTest
: build the project and run its tests and quality assurance tools. -
Generate-ReleaseNotes
: generate a release notes and full changelog by analyzing issues and PR of GitHub. -
Stage-Artifacts
: runBuildTest
, generate the release notes, build the documentation, pack the libraries in NuGet and stage the executables. -
Push-Artifacts
: push the libraries, applications and documentation to the preview or stable feed.
Feel free to ask any question in the project Discussion site!
Check the documentation for more information. For reference, this is the general build and release pipeline.
The project requires to build .NET 6.0 SDK (Linux and MacOS require also Mono). If you open the project with VS Code and you did install the VS Code Remote Containers extension, you can have an already pre-configured development environment with Docker or Podman.
To build, test and generate artifacts run:
# Only required the first time
dotnet tool restore
# Default target is Stage-Artifacts
dotnet cake
To just build and test quickly, run:
dotnet cake --target=BuildTest