Merge pull request #54 from binarymash/feature/FixPackagePublish

Fix package publishing
This commit is contained in:
Tom Pallister 2017-02-21 17:47:55 +00:00 committed by GitHub
commit 040f2daae0

View File

@ -282,7 +282,7 @@ private void PersistVersion(string committedVersion, string newVersion)
}
/// generates release notes based on issues closed in GitHub since the last release
private void GenerateReleaseNotes(string file)
private void GenerateReleaseNotes(ConvertableFilePath file)
{
if (!IsRunningOnWindows())
{
@ -308,7 +308,7 @@ private void GenerateReleaseNotes(string file)
}
/// Publishes code and symbols packages to nuget feed, based on contents of artifacts file
private void PublishPackages(string packagesDir, string artifactsFile, string feedApiKey, string codeFeedUrl, string symbolFeedUrl)
private void PublishPackages(ConvertableDirectoryPath packagesDir, ConvertableFilePath artifactsFile, string feedApiKey, string codeFeedUrl, string symbolFeedUrl)
{
var artifacts = System.IO.File
.ReadAllLines(artifactsFile)
@ -317,8 +317,7 @@ private void PublishPackages(string packagesDir, string artifactsFile, string fe
var codePackage = packagesDir + File(artifacts["nuget"]);
Information("Pushing package");
Information("Pushing package " + codePackage);
NuGetPush(
codePackage,
new NuGetPushSettings {