Skip to content

Commit

Permalink
Updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ravensorb committed Oct 9, 2018
1 parent 09d3925 commit ba958b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
},
"nuget": {
"BuildType": "dotnetcore",
"PublishType": "nuget",
"NuGetConfig": "./src/.nuget/NuGet.config",
"FeedUrl": "https://api.nuget.org/v3/index.json",
"FeedAPIKey": "NUGETAPIKEY",
Expand Down
Binary file modified tools/CredentialProvider.VSS.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions tools/settingsUtils.cake
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public class SettingsUtils
if (obj.NuGet == null) obj.NuGet = new NuGetSettings();

obj.NuGet.BuildType = context.Argument<string>("BuildType", obj.NuGet.BuildType);
obj.NuGet.PublishType = context.Argument<string>("PublishType", obj.NuGet.PublishType);
obj.NuGet.FeedUrl = context.Argument<string>("nugetFeed", obj.NuGet.FeedUrl);
obj.NuGet.FeedUrl = context.Argument<string>("nugetFeedUrl", obj.NuGet.FeedUrl);

Expand Down Expand Up @@ -302,6 +303,7 @@ public class NuGetSettings
}

public string BuildType {get;set;}
public string PublishType {get;set;}
public string NuGetConfig {get;set;}
public string FeedUrl {get;set;}
public string FeedApiKey {get;set;}
Expand Down Expand Up @@ -330,6 +332,7 @@ public class NuGetSettings
{
context.Information("NuGet Settings:");
context.Information("\tBuild Type: {0}", BuildType);
context.Information("\tPublish Type: {0}", PublishType);
context.Information("\tNuGet Config: {0}", NuGetConfig);
context.Information("\tFeed Url: {0}", FeedUrl);
//context.Information("\tFeed API Key: {0}", FeedApiKey);
Expand Down

0 comments on commit ba958b3

Please sign in to comment.