Skip to content

Commit e2148e0

Browse files
committed
include chocolateyInstall.ps1 and chocolateyUninstall.ps1 scripts for chocolatey
1 parent 8891636 commit e2148e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Task("Pack-Chocolatey")
356356

357357
var files = GetFiles(artifactPath + "/**/*.*")
358358
.Select(file => new ChocolateyNuSpecContent { Source = file.FullPath, Target = file.FullPath.Replace(artifactPath, "") });
359-
var txtFiles = GetFiles("./nuspec/*.txt")
359+
var txtFiles = (GetFiles("./nuspec/*.txt") + GetFiles("./nuspec/*.ps1"))
360360
.Select(file => new ChocolateyNuSpecContent { Source = file.FullPath, Target = file.GetFilename().ToString() });
361361

362362
ChocolateyPack(package.NuspecPath, new ChocolateyPackSettings {

0 commit comments

Comments
 (0)