Skip to content

Commit 2bba0ae

Browse files
Fixed argument order in NuGet publish (#622)
Looks like this was broken for a while and later versions of the tooling are finally enforcing the correct order
1 parent 8079d4f commit 2bba0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/targets/nuget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ export class NugetTarget extends BaseTarget {
7878
path,
7979
'--api-key',
8080
'${NUGET_API_TOKEN}',
81-
'--source',
8281
// Warning: `--skip-duplicate` means we will NOT error when a version
8382
// already exists. This is unlike any other target in Craft but
8483
// became needed here as NuGet repo is quite flaky and we need to
8584
// publish many packages at once without another way to resume a
8685
// broken release.
8786
'--skip-duplicate',
87+
'--source',
8888
this.nugetConfig.serverUrl,
8989
];
9090
return spawnProcess(NUGET_DOTNET_BIN, args, DOTNET_SPAWN_OPTIONS);

0 commit comments

Comments
 (0)