Skip to content

Build and release pipeline base on Cake for C# projects

License

Notifications You must be signed in to change notification settings

Kaplas80/PleOps.Cake

 
 

Repository files navigation

PleOps.Cake pipeline MIT License Build and release

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 Nuget
Preview Azure Artifacts

Requirements

  • .NET 6.0 SDK
  • [Linux and MacOS only] Mono 6 (for DocFX)

Build system command

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: run BuildTest, 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.

Documentation

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.

release diagram

Build

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

About

Build and release pipeline base on Cake for C# projects

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.3%
  • Dockerfile 1.7%