Bake 0.22.35-beta
See the version list below for details.
dotnet tool install --global Bake --version 0.22.35-beta
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Bake --version 0.22.35-beta
#tool dotnet:?package=Bake&version=0.22.35-beta&prerelease
nuke :add-package Bake --version 0.22.35-beta
# Bake
Bake is a convention based build tool that focuses on minimal to none effort
to configure and setup. Ideally you should be able to run `bake` in any
repository with minimal arguments and get the "expected" output or better. This
however comes at the cost of conventions and how well Bake works on a project
all depends on how many of the conventions that project follows.
Bake is the right tool for you if you
- ... don't want to have a complicated build setup and configuration
- ... just want to focus on the development part of your project
- ... want to have the "basics" covered during build and release
- ... just want a build, test and release process that works
Bake is **NOT** the right tool for you if you
- ... like having control of every part of the build and release process
- ... have a project with a lot of custom build and/or release steps
## Features
- **Artifacts** are automatically created for relevant projects. Examples
are NuGet packages, Windows/Linux single binaries for tools, containers
for `Dockerfile`
- **Release notes** are parsed and added to all applicable artifacts
- **Tests** are automatically located and executed
## Installing Bake
There is a few different ways to install Bake, choose one that best suites your
needs.
* **Download binary** - Simply download a binary from the
[releases](https://github.com/rasmus/Bake/releases)
page that suites your platform and architecture
* **Install .NET tool** - If have the .NET SDK installed, you can install
Bake as a .NET tool.
```
dotnet tool install --global Bake --version [VERSION]
```
**NOTE:** Be sure to always install a specific version to ensure that your
builds does not suddenly change behavior when new features are introduced
in new versions of Bake.
## Usage
Here are some examples of typical arguments passed to Bake.
### Basic test build
Here is the simple use case for using Bake on e.g. pull requests
```
bake run
```
### Basic release build
Here is the simple example of running a release build that sends NuGet packages
created during the release to the GitHub package store for the owner of the
current repository.
```
bake run --convention=Release --destination="nuget>github,container>rasmus"
```
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.30.43-beta | 332 | 11/14/2024 |
0.29.42-beta | 59 | 10/22/2024 |
0.28.41-beta | 54 | 10/22/2024 |
0.27.40-beta | 79 | 9/24/2024 |
0.26.39-beta | 62 | 9/5/2024 |
0.25.38-beta | 330 | 6/30/2024 |
0.24.37-beta | 82 | 4/4/2024 |
0.23.36-beta | 648 | 2/8/2024 |
0.22.35-beta | 95 | 1/11/2024 |
0.21.34-beta | 1,109 | 6/13/2023 |
0.20.33-beta | 163 | 3/10/2023 |
0.19.32-beta | 642 | 12/11/2022 |
0.18.31-beta | 131 | 11/21/2022 |
0.17.29-beta | 641 | 10/7/2022 |
0.16.28-beta | 287 | 8/2/2022 |
0.15.27-beta | 307 | 5/15/2022 |
0.14.26-beta | 249 | 5/14/2022 |
0.13.25-beta | 179 | 5/14/2022 |
0.12.24-beta | 671 | 2/24/2022 |
0.10.22-beta | 202 | 2/23/2022 |
0.9.21-beta | 185 | 2/16/2022 |
0.7.19-beta | 219 | 1/19/2022 |
0.6.18-beta | 260 | 1/15/2022 |
0.5.17-beta | 371 | 12/13/2021 |
0.4.16-beta | 914 | 12/1/2021 |
0.3.15-beta | 202 | 11/30/2021 |
0.2.14-beta | 896 | 11/29/2021 |
0.1.13-alpha | 1,302 | 11/20/2021 |
* New: GitHub releases now have a description that contains the a summary
of all pull requests and issues that are part of the release
* Fixed: Cleanup of the artifact post run report