mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-01 05:55:27 +08:00 
			
		
		
		
	Fix package publishing
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philip Wood
					Philip Wood