From b537baf10f47377a74d4d8fd4d3544fa11ed8c07 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Mon, 9 Oct 2017 12:55:49 +0100 Subject: [PATCH] (GH-1840) Added Verification.txt to Chocolatey Package - This leaves scope for adding of other .txt files that may/or may not be required in future versions of Chocolatey --- build.cake | 2 +- nuspec/VERIFICATION.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 nuspec/VERIFICATION.txt diff --git a/build.cake b/build.cake index 4bed6fb396..f9e59b7d25 100644 --- a/build.cake +++ b/build.cake @@ -213,7 +213,7 @@ Task("Create-Chocolatey-Packages") Version = parameters.Version.SemVersion, ReleaseNotes = parameters.ReleaseNotes.Notes.ToArray(), OutputDirectory = parameters.Paths.Directories.NugetRoot, - Files = GetFiles(netFxFullArtifactPath + "/**/*") + Files = (GetFiles(netFxFullArtifactPath + "/**/*") + GetFiles("./nuspec/*.txt")) .Where(file => file.FullPath.IndexOf("/runtimes/", StringComparison.OrdinalIgnoreCase) < 0) .Select(file=>"../" + file.FullPath.Substring(curDirLength)) .Select(file=> new ChocolateyNuSpecContent { Source = file }) diff --git a/nuspec/VERIFICATION.txt b/nuspec/VERIFICATION.txt new file mode 100644 index 0000000000..5db9afe09b --- /dev/null +++ b/nuspec/VERIFICATION.txt @@ -0,0 +1,7 @@ +VERIFICATION +Verification is intended to assist the Chocolatey moderators and community +in verifying that this package's contents are trustworthy. + +This package is published by the Cake Project itself. The binaries are +identical to other package types published by the project, in particular +the Cake nuget package. \ No newline at end of file