From 3de2a4b90b2dff787170a4f908cf69d8f6b99002 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Thu, 4 Jun 2020 11:17:30 -0700 Subject: [PATCH] Update MyGet package publishing --- build/Build.cs | 6 +----- src/LibHac/LibHac.csproj | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index d7603261..bc348136 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -291,17 +291,13 @@ namespace LibHacBuild .Executes(() => { AbsolutePath nupkgFile = ArtifactsDirectory.GlobFiles("*.nupkg").Single(); - AbsolutePath snupkgFile = ArtifactsDirectory.GlobFiles("*.snupkg").Single(); string apiKey = EnvironmentInfo.GetVariable("myget_api_key"); DotNetNuGetPushSettings settings = new DotNetNuGetPushSettings() .SetApiKey(apiKey) - .SetSymbolApiKey(apiKey) - .SetSource("https://www.myget.org/F/libhac/api/v2/package") - .SetSymbolSource("https://www.myget.org/F/libhac/symbols/api/v2/package"); + .SetSource("https://www.myget.org/F/libhac/api/v3/index.json"); DotNetNuGetPush(settings.SetTargetPath(nupkgFile)); - DotNetNuGetPush(settings.SetTargetPath(snupkgFile)); }); Target Sign => _ => _ diff --git a/src/LibHac/LibHac.csproj b/src/LibHac/LibHac.csproj index a1fa1d61..f6d2d87c 100644 --- a/src/LibHac/LibHac.csproj +++ b/src/LibHac/LibHac.csproj @@ -10,7 +10,7 @@ Alex Barney - Copyright © 2018 Alex Barney + Copyright © 2018-2020 Alex Barney A library for reading content formats used by the Nintendo Switch. Nintendo;Switch;nca;xci;savefile https://github.com/Thealexbarney/LibHac @@ -19,6 +19,7 @@ true snupkg true + true true