c834676ecb
Use Rest Api to upload to the feed
Add pulling logic to make sure it is uploaded to the feed.
Add retry logic for the whole upload process
Remove the old upload script
(cherry picked from commit 7f54ccb903
)
24 lines
747 B
C#
24 lines
747 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.DotNet.Cli.Build.UploadToLinuxPackageRepository
|
|
{
|
|
public class FailedToAddPackageToPackageRepositoryException : Exception
|
|
{
|
|
public FailedToAddPackageToPackageRepositoryException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public FailedToAddPackageToPackageRepositoryException()
|
|
{
|
|
}
|
|
|
|
public FailedToAddPackageToPackageRepositoryException(string message, Exception innerException) : base(message,
|
|
innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|