mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Update MyGet package publishing
This commit is contained in:
parent
d5362790b8
commit
3de2a4b90b
@ -291,17 +291,13 @@ namespace LibHacBuild
|
||||
.Executes(() =>
|
||||
{
|
||||
AbsolutePath nupkgFile = ArtifactsDirectory.GlobFiles("*.nupkg").Single();
|
||||
AbsolutePath snupkgFile = ArtifactsDirectory.GlobFiles("*.snupkg").Single();
|
||||
|
||||
string apiKey = EnvironmentInfo.GetVariable<string>("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 => _ => _
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Authors>Alex Barney</Authors>
|
||||
<Copyright>Copyright © 2018 Alex Barney</Copyright>
|
||||
<Copyright>Copyright © 2018-2020 Alex Barney</Copyright>
|
||||
<Description>A library for reading content formats used by the Nintendo Switch.</Description>
|
||||
<PackageTags>Nintendo;Switch;nca;xci;savefile</PackageTags>
|
||||
<PackageProjectUrl>https://github.com/Thealexbarney/LibHac</PackageProjectUrl>
|
||||
@ -19,6 +19,7 @@
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
|
||||
<!-- When doing a release build with a Git directory, SourceLink will set the SourceRoot needed for DeterministicSourcePaths -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user