Skip to content

Commit

Permalink
include chocolateyInstall.ps1 and chocolateyUninstall.ps1 scripts for…
Browse files Browse the repository at this point in the history
… chocolatey
  • Loading branch information
arturcic committed Dec 21, 2018
1 parent 8891636 commit e2148e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Task("Pack-Chocolatey")

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

ChocolateyPack(package.NuspecPath, new ChocolateyPackSettings {
Expand Down

0 comments on commit e2148e0

Please sign in to comment.