Skip to content

Commit

Permalink
Some changes to choco package (files in root of package, etc.)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed Jan 9, 2018
1 parent 5e452f2 commit a13c644
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var version = releaseNotes.Version.ToString();
var semVersion = version + (isLocal ? string.Empty : string.Concat("-build-", buildNumber));

var buildDir = Directory("./src/clients/Wyam/bin") + Directory(configuration);
var buildResultDir = Directory("./build") + Directory(semVersion);
var buildResultDir = Directory("./build");
var nugetRoot = buildResultDir + Directory("nuget");
var chocoRoot = buildResultDir + Directory("choco");
var binDir = buildResultDir + Directory("bin");
Expand Down Expand Up @@ -282,13 +282,13 @@ Task("Create-Tools-Package")
});

Task("Create-Chocolatey-Package")
.IsDependentOn("Build")
.IsDependentOn("Copy-Files")
.Does(() => {
var nuspecFile = GetFiles("./nuspec/chocolatey/**/*.nuspec").FirstOrDefault();
var nuspecFile = GetFiles("./src/clients/Chocolatey/*.nuspec").FirstOrDefault();
ChocolateyPack(nuspecFile, new ChocolateyPackSettings {
Version = semVersion,
OutputDirectory = string.Format("./build/{0}/choco", semVersion),
WorkingDirectory = string.Format("./build/{0}", semVersion)
OutputDirectory = "./build/choco",
WorkingDirectory = "./build"
});
});

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ All release notes for Wyam can be found on the GitHub site - https://github.com/
<tags>Wyam Static StaticContent StaticSite Blog BlogEngine</tags>
</metadata>
<files>
<file src="..\..\build\**\bin\*" target="tools"/>
<file src="..\..\LICENSE" target="LICENSE"/>
<file src="..\..\..\build\bin\**\*" target="/"/>
<file src="VERIFICATION.txt" target="VERIFICATION.txt"/>
</files>
</package>

0 comments on commit a13c644

Please sign in to comment.