File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ public override void Run(BuildContext context)
206206 }
207207
208208 var packageFiles = Directory . EnumerateFiles ( packageOutputDirectory . FullPath )
209- . Where ( file => file . EndsWith ( ".nupkg" , StringComparison . OrdinalIgnoreCase )
210- || file . EndsWith ( ".snupkg" , StringComparison . OrdinalIgnoreCase ) ) ;
209+ . Where ( file => file . EndsWith ( ".nupkg" , StringComparison . OrdinalIgnoreCase ) ) ;
211210
212211
213212 foreach ( var nugetPackageFile in packageFiles )
@@ -219,7 +218,8 @@ public override void Run(BuildContext context)
219218 new Cake . Common . Tools . DotNet . NuGet . Push . DotNetNuGetPushSettings ( )
220219 {
221220 Source = context . Source ,
222- ApiKey = context . ApiKey
221+ ApiKey = context . ApiKey ,
222+ SkipDuplicate = true
223223 } ) ;
224224 }
225225 }
You can’t perform that action at this time.
0 commit comments