Bake 0.19.32-beta
See the version list below for details.
dotnet tool install --global Bake --version 0.19.32-beta
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Bake --version 0.19.32-beta
#tool dotnet:?package=Bake&version=0.19.32-beta&prerelease
nuke :add-package Bake --version 0.19.32-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 | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 | 487 | 11/14/2024 |
0.29.42-beta | 75 | 10/22/2024 |
0.28.41-beta | 61 | 10/22/2024 |
0.27.40-beta | 92 | 9/24/2024 |
0.26.39-beta | 71 | 9/5/2024 |
0.25.38-beta | 336 | 6/30/2024 |
0.24.37-beta | 87 | 4/4/2024 |
0.23.36-beta | 658 | 2/8/2024 |
0.22.35-beta | 103 | 1/11/2024 |
0.21.34-beta | 1,114 | 6/13/2023 |
0.20.33-beta | 168 | 3/10/2023 |
0.19.32-beta | 647 | 12/11/2022 |
0.18.31-beta | 136 | 11/21/2022 |
0.17.29-beta | 649 | 10/7/2022 |
0.16.28-beta | 292 | 8/2/2022 |
0.15.27-beta | 312 | 5/15/2022 |
0.14.26-beta | 254 | 5/14/2022 |
0.13.25-beta | 184 | 5/14/2022 |
0.12.24-beta | 676 | 2/24/2022 |
0.10.22-beta | 207 | 2/23/2022 |
0.9.21-beta | 190 | 2/16/2022 |
0.7.19-beta | 224 | 1/19/2022 |
0.6.18-beta | 265 | 1/15/2022 |
0.5.17-beta | 376 | 12/13/2021 |
0.4.16-beta | 919 | 12/1/2021 |
0.3.15-beta | 207 | 11/30/2021 |
0.2.14-beta | 901 | 11/29/2021 |
0.1.13-alpha | 1,307 | 11/20/2021 |
* New: Clean `v|version` prefix for semantic versions
* New: Now possible to control the container name for .NET service using
a `bake.yaml` file
* New: `DOTNET_ROLL_FORWARD` now defaults to `LatestMajor`
* Fixed: Container paths that contain `/` are now valid