mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-01 06:15:27 +08:00 
			
		
		
		
	Merge pull request #33 from TomPallister/feature/publish-unable-and-symbols
Feature/publish unable and symbols
This commit is contained in:
		
							
								
								
									
										11
									
								
								build.cake
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								build.cake
									
									
									
									
									
								
							| @@ -310,7 +310,8 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo | ||||
|             .ToDictionary(v => v[0], v => v[1]); | ||||
|  | ||||
| 		var codePackage = packagesDir + File(artifacts["nuget"]); | ||||
| 		var symbolsPackage = packagesDir + File(artifacts["nugetSymbols"]); | ||||
|  | ||||
| 		Information("Pushing package"); | ||||
|  | ||||
|         NuGetPush( | ||||
|             codePackage, | ||||
| @@ -318,14 +319,6 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo | ||||
|                 ApiKey = feedApiKey, | ||||
|                 Source = codeFeedUrl | ||||
|             }); | ||||
|  | ||||
|         NuGetPush( | ||||
|             symbolsPackage, | ||||
|             new NuGetPushSettings { | ||||
|                 ApiKey = feedApiKey, | ||||
|                 Source = symbolFeedUrl | ||||
|             }); | ||||
|  | ||||
| } | ||||
|  | ||||
| /// gets the resource from the specified url | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tom Pallister
					Tom Pallister