net9-update-refactorings #1
@ -112,6 +112,8 @@ class Build : NukeBuild
|
||||
Target Publish => _ => _
|
||||
.DependsOn(Pack, CreateAndPushGitTag)
|
||||
.Executes(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
DotNetTasks.DotNetNuGetAddSource(c => c
|
||||
.EnableStorePasswordInClearText()
|
||||
@ -119,6 +121,11 @@ class Build : NukeBuild
|
||||
.SetPassword(GiteaPackageOwnerPassword)
|
||||
.SetName("Gitea")
|
||||
.SetSource($"{GiteaNugetSourceName}/index.json"));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Warning("Error adding Gitea source: {e}", e);
|
||||
}
|
||||
|
||||
DotNetTasks.DotNetNuGetPush(s => s
|
||||
.SetSource($"{GiteaNugetSourceName}/symbols")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user