-
Notifications
You must be signed in to change notification settings - Fork 16
/
recipe.cake
28 lines (21 loc) · 1.03 KB
/
recipe.cake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#load nuget:?package=Cake.Recipe&version=3.1.1
Environment.SetVariableNames();
var standardNotificationMessage = "Version {0} of {1} has just been released, this will be available here https://www.nuget.org/packages/{1}, once package indexing is complete.";
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.BuildSystems.Module",
repositoryOwner: "cake-contrib",
shouldRunDotNetCorePack: true,
shouldUseDeterministicBuilds: true,
gitterMessage: "@/all " + standardNotificationMessage,
twitterMessage: standardNotificationMessage,
shouldRunCodecov: false,
preferredBuildProviderType: BuildProviderType.GitHubActions,
preferredBuildAgentOperatingSystem: PlatformFamily.Linux);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolPreprocessorDirectives(
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0");
ToolSettings.SetToolSettings(context: Context);
Build.RunDotNetCore();