zarro 1.182.0 → 1.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/modules/dotnet-cli.js +10 -1
- package/package.json +1 -1
- package/types.d.ts +1 -1
|
@@ -507,6 +507,15 @@ WARNING: 'dotnet pack' ignores --version-suffix when a nuspec file is provided.
|
|
|
507
507
|
if (!opts.apiKey) {
|
|
508
508
|
throw new ZarroError("apiKey was not specified");
|
|
509
509
|
}
|
|
510
|
+
const o = opts;
|
|
511
|
+
// the dotnet cli mentions --skip-duplicate, which makes
|
|
512
|
+
// sense for a single package, however, as an outer caller
|
|
513
|
+
// potentially acting on multiple packages will use the
|
|
514
|
+
// pluralized version, and since I've just spent 1/2 an hour
|
|
515
|
+
// figuring this out... let's add some boilerplating.
|
|
516
|
+
if (o.skipDuplicate !== undefined && o.skipDuplicates === undefined) {
|
|
517
|
+
o.skipDuplicates = o.skipDuplicate;
|
|
518
|
+
}
|
|
510
519
|
const args = [
|
|
511
520
|
"nuget",
|
|
512
521
|
"push",
|
|
@@ -525,7 +534,7 @@ WARNING: 'dotnet pack' ignores --version-suffix when a nuspec file is provided.
|
|
|
525
534
|
pushIfSet(args, opts.timeout, "--timeout");
|
|
526
535
|
pushFlag(args, opts.disableBuffering, "--disable-buffering");
|
|
527
536
|
pushFlag(args, opts.noSymbols, "--no-symbols");
|
|
528
|
-
pushFlag(args, opts.
|
|
537
|
+
pushFlag(args, opts.skipDuplicates, "--skip-duplicate");
|
|
529
538
|
pushFlag(args, opts.noServiceEndpoint, "--no-service-endpoint");
|
|
530
539
|
pushFlag(args, opts.forceEnglishOutput, "--force-english-output");
|
|
531
540
|
pushAdditionalArgs(args, opts);
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1539,7 +1539,7 @@ declare global {
|
|
|
1539
1539
|
symbolApiKey?: string;
|
|
1540
1540
|
disableBuffering?: boolean;
|
|
1541
1541
|
noSymbols?: boolean;
|
|
1542
|
-
|
|
1542
|
+
skipDuplicates?: boolean;
|
|
1543
1543
|
noServiceEndpoint?: boolean;
|
|
1544
1544
|
forceEnglishOutput?: boolean;
|
|
1545
1545
|
source?: string;
|