8000 Fix pushing Nuget packages · dotnet-script/dotnet-script@978664c · GitHub
[go: up one dir, main page]

Skip to content

Commit 978664c

Browse files
committed
Fix pushing Nuget packages
1 parent f83e2b6 commit 978664c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build/Build.csx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ private async Task PublishRelease()
8686
Git.Default.RequireCleanWorkingTree();
8787
await ReleaseManagerFor(owner, projectName, BuildEnvironment.GitHubAccessToken)
8888
.CreateRelease(Git.Default.GetLatestTag(), pathToReleaseNotes, new[] { new ZipReleaseAsset(pathToGitHubReleaseAsset) });
89-
NuGet.TryPush(nuGetArtifactsFolder);
89+
90+
DotNet.TryPush(nuGetArtifactsFolder);
9091
}
9192
}
9293

build/BuildContext.csx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#load "nuget:Dotnet.Build, 0.7.1"
1+
#load "nuget:Dotnet.Build, 0.23.0"
22
using static FileUtils;
33
using System.Xml.Linq;
44

@@ -7,7 +7,7 @@ const string GlobalToolPackageId = "dotnet-script";
77
var owner = "filipw";
88
var projectName = "dotnet-script";
99
var root = FileUtils.GetScriptFolder();
10-
var solutionFolder = Path.Combine(root,"..","src");
10+
var solutionFolder = Path.Combine(root, "..", "src");
1111
var dotnetScriptProjectFolder = Path.Combine(root, "..", "src", "Dotnet.Script");
1212
var dotnetScriptCoreProjectFolder = Path.Combine(root, "..", "src", "Dotnet.Script.Core");
1313
var dotnetScriptDependencyModelProjectFolder = Path.Combine(root, "..", "src", "Dotnet.Script.DependencyModel");

0 commit comments

Comments
 (0)
0