git-semver-tagger 2.2.2 → 2.2.4
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/README.md +95 -1
- package/kotlin/command-line-tools-tagger-cli.js +190 -160
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/tools-tagger-core.js +10 -10
- package/kotlin/tools-tagger-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ze;
|
|
39
39
|
var Failure = kotlin_com_zegreatrob_tools_tagger_core.$_$.d;
|
|
40
40
|
var plus = kotlin_kotlin.$_$.q6;
|
|
41
|
+
var joinToString = kotlin_kotlin.$_$.v5;
|
|
41
42
|
var Success = kotlin_com_zegreatrob_tools_tagger_core.$_$.e;
|
|
42
43
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
|
|
43
44
|
var Companion_instance_0 = kotlin_clikt_clikt.$_$.u;
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
var subcommands = kotlin_clikt_clikt.$_$.h;
|
|
92
93
|
var required = kotlin_clikt_clikt.$_$.q;
|
|
93
94
|
var tag = kotlin_com_zegreatrob_tools_tagger_core.$_$.g;
|
|
94
|
-
var
|
|
95
|
+
var Warning = kotlin_com_zegreatrob_tools_tagger_core.$_$.a;
|
|
95
96
|
var Success_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.h;
|
|
96
97
|
var MordantHelpFormatter = kotlin_clikt_clikt_mordant.$_$.b;
|
|
97
98
|
var PrintMessage = kotlin_clikt_clikt.$_$.d;
|
|
@@ -125,7 +126,7 @@
|
|
|
125
126
|
initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
|
|
126
127
|
//endregion
|
|
127
128
|
function Versions() {
|
|
128
|
-
this.i2o_1 = '2.2.
|
|
129
|
+
this.i2o_1 = '2.2.4';
|
|
129
130
|
}
|
|
130
131
|
var Versions_instance;
|
|
131
132
|
function Versions_getInstance() {
|
|
@@ -209,25 +210,29 @@
|
|
|
209
210
|
var tmp = KProperty1;
|
|
210
211
|
return $this.f2p_1.c1n($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
|
|
211
212
|
}
|
|
213
|
+
function _get_warningsAsErrors__7mpwfd($this) {
|
|
214
|
+
var tmp = KProperty1;
|
|
215
|
+
return $this.g2p_1.c1n($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, CalculateVersion$_get_warningsAsErrors_$ref_ncq8fs_0(), null));
|
|
216
|
+
}
|
|
212
217
|
function _get_majorRegex__5j6ypp($this) {
|
|
213
218
|
var tmp = KProperty1;
|
|
214
|
-
return $this.
|
|
219
|
+
return $this.h2p_1.c1n($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
|
|
215
220
|
}
|
|
216
221
|
function _get_minorRegex__20z96h($this) {
|
|
217
222
|
var tmp = KProperty1;
|
|
218
|
-
return $this.
|
|
223
|
+
return $this.i2p_1.c1n($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
|
|
219
224
|
}
|
|
220
225
|
function _get_patchRegex__mtlu2c($this) {
|
|
221
226
|
var tmp = KProperty1;
|
|
222
|
-
return $this.
|
|
227
|
+
return $this.j2p_1.c1n($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
|
|
223
228
|
}
|
|
224
229
|
function _get_noneRegex__1tdbgi($this) {
|
|
225
230
|
var tmp = KProperty1;
|
|
226
|
-
return $this.
|
|
231
|
+
return $this.k2p_1.c1n($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
|
|
227
232
|
}
|
|
228
233
|
function _get_versionRegex__7su5ss($this) {
|
|
229
234
|
var tmp = KProperty1;
|
|
230
|
-
return $this.
|
|
235
|
+
return $this.l2p_1.c1n($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
|
|
231
236
|
}
|
|
232
237
|
function disableDetachedDeprecationWarning($this) {
|
|
233
238
|
var tmp;
|
|
@@ -374,6 +379,16 @@
|
|
|
374
379
|
return _get_format__qlarck(p0);
|
|
375
380
|
};
|
|
376
381
|
}
|
|
382
|
+
function CalculateVersion$_get_warningsAsErrors_$ref_ncq8fs() {
|
|
383
|
+
return function (p0) {
|
|
384
|
+
return _get_warningsAsErrors__7mpwfd(p0);
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
function CalculateVersion$_get_warningsAsErrors_$ref_ncq8fs_0() {
|
|
388
|
+
return function (p0) {
|
|
389
|
+
return _get_warningsAsErrors__7mpwfd(p0);
|
|
390
|
+
};
|
|
391
|
+
}
|
|
377
392
|
function CalculateVersion$_get_majorRegex_$ref_erugf6() {
|
|
378
393
|
return function (p0) {
|
|
379
394
|
return _get_majorRegex__5j6ypp(p0);
|
|
@@ -502,33 +517,37 @@
|
|
|
502
517
|
var tmp_22 = KProperty1;
|
|
503
518
|
tmp_20.f2p_1 = tmp_21.m1n(this, getPropertyCallableRef('format', 1, tmp_22, CalculateVersion$_get_format_$ref_clhcb9(), null));
|
|
504
519
|
var tmp_23 = this;
|
|
505
|
-
var tmp_24 = default_0(option(this, []),
|
|
520
|
+
var tmp_24 = default_0(boolean(option(this, [])), false);
|
|
506
521
|
var tmp_25 = KProperty1;
|
|
507
|
-
tmp_23.g2p_1 = tmp_24.m1n(this, getPropertyCallableRef('
|
|
522
|
+
tmp_23.g2p_1 = tmp_24.m1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, CalculateVersion$_get_warningsAsErrors_$ref_ncq8fs(), null));
|
|
508
523
|
var tmp_26 = this;
|
|
509
|
-
var tmp_27 = default_0(option(this, []), Defaults_getInstance().
|
|
524
|
+
var tmp_27 = default_0(option(this, []), Defaults_getInstance().oo_1.tb_1);
|
|
510
525
|
var tmp_28 = KProperty1;
|
|
511
|
-
tmp_26.h2p_1 = tmp_27.m1n(this, getPropertyCallableRef('
|
|
526
|
+
tmp_26.h2p_1 = tmp_27.m1n(this, getPropertyCallableRef('majorRegex', 1, tmp_28, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
|
|
512
527
|
var tmp_29 = this;
|
|
513
|
-
var tmp_30 = default_0(option(this, []), Defaults_getInstance().
|
|
528
|
+
var tmp_30 = default_0(option(this, []), Defaults_getInstance().no_1.tb_1);
|
|
514
529
|
var tmp_31 = KProperty1;
|
|
515
|
-
tmp_29.i2p_1 = tmp_30.m1n(this, getPropertyCallableRef('
|
|
530
|
+
tmp_29.i2p_1 = tmp_30.m1n(this, getPropertyCallableRef('minorRegex', 1, tmp_31, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
|
|
516
531
|
var tmp_32 = this;
|
|
517
|
-
var tmp_33 = default_0(option(this, []), Defaults_getInstance().
|
|
532
|
+
var tmp_33 = default_0(option(this, []), Defaults_getInstance().mo_1.tb_1);
|
|
518
533
|
var tmp_34 = KProperty1;
|
|
519
|
-
tmp_32.j2p_1 = tmp_33.m1n(this, getPropertyCallableRef('
|
|
534
|
+
tmp_32.j2p_1 = tmp_33.m1n(this, getPropertyCallableRef('patchRegex', 1, tmp_34, CalculateVersion$_get_patchRegex_$ref_124637(), null));
|
|
520
535
|
var tmp_35 = this;
|
|
536
|
+
var tmp_36 = default_0(option(this, []), Defaults_getInstance().lo_1.tb_1);
|
|
537
|
+
var tmp_37 = KProperty1;
|
|
538
|
+
tmp_35.k2p_1 = tmp_36.m1n(this, getPropertyCallableRef('noneRegex', 1, tmp_37, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
|
|
539
|
+
var tmp_38 = this;
|
|
521
540
|
var tmp0 = option(this, []);
|
|
522
541
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check' call
|
|
523
542
|
var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
|
|
524
543
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check' call
|
|
525
544
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
526
|
-
var
|
|
527
|
-
var
|
|
528
|
-
var
|
|
529
|
-
var
|
|
530
|
-
var
|
|
531
|
-
|
|
545
|
+
var tmp_39 = tmp0.d1m();
|
|
546
|
+
var tmp_40 = tmp0.f1n();
|
|
547
|
+
var tmp_41 = tmp0.e1m();
|
|
548
|
+
var tmp_42 = tmp0.g1n(tmp_39, tmp_40, tmp_41, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
|
|
549
|
+
var tmp_43 = KProperty1;
|
|
550
|
+
tmp_38.l2p_1 = tmp_42.m1n(this, getPropertyCallableRef('versionRegex', 1, tmp_43, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
|
|
532
551
|
}
|
|
533
552
|
protoOf(CalculateVersion).g1b = function (context) {
|
|
534
553
|
return protoOf(CliktCommand).g1b.call(this, context) + '\n\n' + configFileHelpSuffix();
|
|
@@ -545,9 +564,17 @@
|
|
|
545
564
|
var $this$run = calculateNextVersion(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
546
565
|
if ($this$run instanceof Success) {
|
|
547
566
|
var allWarnings = plus($this$run.to_1, deprecationWarnings);
|
|
567
|
+
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
568
|
+
var hasWarnings = !allWarnings.p();
|
|
569
|
+
var shouldEscalate = _get_warningsAsErrors__7mpwfd(this) && hasWarnings;
|
|
548
570
|
switch (_get_format__qlarck(this).y2_1) {
|
|
549
571
|
case 1:
|
|
550
|
-
|
|
572
|
+
if (shouldEscalate) {
|
|
573
|
+
this.o1c(errorResponse('Warnings escalated to errors: ' + joinToString(allWarnings, '; '), 'WARNINGS_AS_ERRORS'));
|
|
574
|
+
} else {
|
|
575
|
+
outputJson(this, $this$run.ro_1, $this$run.so_1, allWarnings);
|
|
576
|
+
}
|
|
577
|
+
|
|
551
578
|
break;
|
|
552
579
|
case 0:
|
|
553
580
|
output(this, $this$run.ro_1, $this$run.so_1, allWarnings);
|
|
@@ -556,6 +583,9 @@
|
|
|
556
583
|
noWhenBranchMatchedException();
|
|
557
584
|
break;
|
|
558
585
|
}
|
|
586
|
+
if (shouldEscalate) {
|
|
587
|
+
throw new CliktError('', VOID, 1, false);
|
|
588
|
+
}
|
|
559
589
|
} else {
|
|
560
590
|
if ($this$run instanceof Failure) {
|
|
561
591
|
switch (_get_format__qlarck(this).y2_1) {
|
|
@@ -632,7 +662,7 @@
|
|
|
632
662
|
return pattern.lc($receiver, transform);
|
|
633
663
|
}
|
|
634
664
|
function readConfigFileAsJsonElement($this) {
|
|
635
|
-
var pwd = $this.
|
|
665
|
+
var pwd = $this.m2p_1('PWD');
|
|
636
666
|
var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
|
|
637
667
|
var tmp;
|
|
638
668
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -667,7 +697,7 @@
|
|
|
667
697
|
return toString(this_0).toUpperCase();
|
|
668
698
|
}
|
|
669
699
|
function ConfigFileSource(envvarReader) {
|
|
670
|
-
this.
|
|
700
|
+
this.m2p_1 = envvarReader;
|
|
671
701
|
}
|
|
672
702
|
protoOf(ConfigFileSource).o1n = function (context, option) {
|
|
673
703
|
var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
|
|
@@ -682,11 +712,11 @@
|
|
|
682
712
|
};
|
|
683
713
|
function _get_file__d6iv67($this) {
|
|
684
714
|
var tmp = KProperty1;
|
|
685
|
-
return $this.
|
|
715
|
+
return $this.c2q_1.c1n($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
|
|
686
716
|
}
|
|
687
717
|
function _get_merge__eb7eqv($this) {
|
|
688
718
|
var tmp = KProperty1;
|
|
689
|
-
return $this.
|
|
719
|
+
return $this.d2q_1.c1n($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
|
|
690
720
|
}
|
|
691
721
|
function mergeJson($this, defaultConfig, originalData) {
|
|
692
722
|
// Inline function 'kotlinx.serialization.json.buildJsonObject' call
|
|
@@ -744,11 +774,11 @@
|
|
|
744
774
|
var tmp = this;
|
|
745
775
|
var tmp_0 = optionalValue(option(this, [], "Save configuration to specified file. Use --file to save to .tagger in current directory. --file='' is also supported."), '.tagger');
|
|
746
776
|
var tmp_1 = KProperty1;
|
|
747
|
-
tmp.
|
|
777
|
+
tmp.c2q_1 = tmp_0.m1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
|
|
748
778
|
var tmp_2 = this;
|
|
749
779
|
var tmp_3 = boolean(option(this, [], 'Merge with existing file, preserving current values and adding missing defaults.'));
|
|
750
780
|
var tmp_4 = KProperty1;
|
|
751
|
-
tmp_2.
|
|
781
|
+
tmp_2.d2q_1 = tmp_3.m1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
|
|
752
782
|
}
|
|
753
783
|
protoOf(GenerateSettingsFile).g1b = function (context) {
|
|
754
784
|
return 'Generate a .tagger configuration file with default settings. Without --file, prints to stdout.';
|
|
@@ -827,20 +857,20 @@
|
|
|
827
857
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionSuccessResponse', this, 2);
|
|
828
858
|
tmp0_serialDesc.cz('status', false);
|
|
829
859
|
tmp0_serialDesc.cz('data', false);
|
|
830
|
-
this.
|
|
860
|
+
this.e2q_1 = tmp0_serialDesc;
|
|
831
861
|
}
|
|
832
|
-
protoOf($serializer).
|
|
833
|
-
var tmp0_desc = this.
|
|
862
|
+
protoOf($serializer).f2q = function (encoder, value) {
|
|
863
|
+
var tmp0_desc = this.e2q_1;
|
|
834
864
|
var tmp1_output = encoder.tr(tmp0_desc);
|
|
835
|
-
tmp1_output.ht(tmp0_desc, 0, value.
|
|
836
|
-
tmp1_output.jt(tmp0_desc, 1, $serializer_getInstance_0(), value.
|
|
865
|
+
tmp1_output.ht(tmp0_desc, 0, value.g2q_1);
|
|
866
|
+
tmp1_output.jt(tmp0_desc, 1, $serializer_getInstance_0(), value.h2q_1);
|
|
837
867
|
tmp1_output.ur(tmp0_desc);
|
|
838
868
|
};
|
|
839
869
|
protoOf($serializer).xo = function (encoder, value) {
|
|
840
|
-
return this.
|
|
870
|
+
return this.f2q(encoder, value instanceof VersionSuccessResponse ? value : THROW_CCE());
|
|
841
871
|
};
|
|
842
872
|
protoOf($serializer).yo = function (decoder) {
|
|
843
|
-
var tmp0_desc = this.
|
|
873
|
+
var tmp0_desc = this.e2q_1;
|
|
844
874
|
var tmp1_flag = true;
|
|
845
875
|
var tmp2_index = 0;
|
|
846
876
|
var tmp3_bitMask0 = 0;
|
|
@@ -875,7 +905,7 @@
|
|
|
875
905
|
return VersionSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
876
906
|
};
|
|
877
907
|
protoOf($serializer).wo = function () {
|
|
878
|
-
return this.
|
|
908
|
+
return this.e2q_1;
|
|
879
909
|
};
|
|
880
910
|
protoOf($serializer).ez = function () {
|
|
881
911
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -891,25 +921,25 @@
|
|
|
891
921
|
}
|
|
892
922
|
function VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
|
|
893
923
|
if (!(3 === (3 & seen0))) {
|
|
894
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
924
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().e2q_1);
|
|
895
925
|
}
|
|
896
|
-
$this.
|
|
897
|
-
$this.
|
|
926
|
+
$this.g2q_1 = status;
|
|
927
|
+
$this.h2q_1 = data;
|
|
898
928
|
return $this;
|
|
899
929
|
}
|
|
900
930
|
function VersionSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
|
|
901
931
|
return VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(VersionSuccessResponse)));
|
|
902
932
|
}
|
|
903
933
|
function VersionSuccessResponse(status, data) {
|
|
904
|
-
this.
|
|
905
|
-
this.
|
|
934
|
+
this.g2q_1 = status;
|
|
935
|
+
this.h2q_1 = data;
|
|
906
936
|
}
|
|
907
937
|
protoOf(VersionSuccessResponse).toString = function () {
|
|
908
|
-
return 'VersionSuccessResponse(status=' + this.
|
|
938
|
+
return 'VersionSuccessResponse(status=' + this.g2q_1 + ', data=' + this.h2q_1.toString() + ')';
|
|
909
939
|
};
|
|
910
940
|
protoOf(VersionSuccessResponse).hashCode = function () {
|
|
911
|
-
var result = getStringHashCode(this.
|
|
912
|
-
result = imul(result, 31) + this.
|
|
941
|
+
var result = getStringHashCode(this.g2q_1);
|
|
942
|
+
result = imul(result, 31) + this.h2q_1.hashCode() | 0;
|
|
913
943
|
return result;
|
|
914
944
|
};
|
|
915
945
|
protoOf(VersionSuccessResponse).equals = function (other) {
|
|
@@ -917,9 +947,9 @@
|
|
|
917
947
|
return true;
|
|
918
948
|
if (!(other instanceof VersionSuccessResponse))
|
|
919
949
|
return false;
|
|
920
|
-
if (!(this.
|
|
950
|
+
if (!(this.g2q_1 === other.g2q_1))
|
|
921
951
|
return false;
|
|
922
|
-
if (!this.
|
|
952
|
+
if (!this.h2q_1.equals(other.h2q_1))
|
|
923
953
|
return false;
|
|
924
954
|
return true;
|
|
925
955
|
};
|
|
@@ -938,7 +968,7 @@
|
|
|
938
968
|
// Inline function 'kotlin.arrayOf' call
|
|
939
969
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
940
970
|
// Inline function 'kotlin.js.asDynamic' call
|
|
941
|
-
tmp.
|
|
971
|
+
tmp.i2q_1 = [null, null, tmp_1, lazy(tmp_2, VersionData$Companion$$childSerializers$_anonymous__gd9ivc_0)];
|
|
942
972
|
}
|
|
943
973
|
var Companion_instance_3;
|
|
944
974
|
function Companion_getInstance_0() {
|
|
@@ -953,27 +983,27 @@
|
|
|
953
983
|
tmp0_serialDesc.cz('snapshot', false);
|
|
954
984
|
tmp0_serialDesc.cz('snapshotReasons', true);
|
|
955
985
|
tmp0_serialDesc.cz('warnings', true);
|
|
956
|
-
this.
|
|
986
|
+
this.j2q_1 = tmp0_serialDesc;
|
|
957
987
|
}
|
|
958
|
-
protoOf($serializer_0).
|
|
959
|
-
var tmp0_desc = this.
|
|
988
|
+
protoOf($serializer_0).k2q = function (encoder, value) {
|
|
989
|
+
var tmp0_desc = this.j2q_1;
|
|
960
990
|
var tmp1_output = encoder.tr(tmp0_desc);
|
|
961
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
962
|
-
tmp1_output.ht(tmp0_desc, 0, value.
|
|
963
|
-
tmp1_output.zs(tmp0_desc, 1, value.
|
|
964
|
-
if (tmp1_output.pt(tmp0_desc, 2) ? true : !equals(value.
|
|
965
|
-
tmp1_output.jt(tmp0_desc, 2, tmp2_cached[2].m1(), value.
|
|
991
|
+
var tmp2_cached = Companion_getInstance_0().i2q_1;
|
|
992
|
+
tmp1_output.ht(tmp0_desc, 0, value.l2q_1);
|
|
993
|
+
tmp1_output.zs(tmp0_desc, 1, value.m2q_1);
|
|
994
|
+
if (tmp1_output.pt(tmp0_desc, 2) ? true : !equals(value.n2q_1, emptyList())) {
|
|
995
|
+
tmp1_output.jt(tmp0_desc, 2, tmp2_cached[2].m1(), value.n2q_1);
|
|
966
996
|
}
|
|
967
|
-
if (tmp1_output.pt(tmp0_desc, 3) ? true : !equals(value.
|
|
968
|
-
tmp1_output.jt(tmp0_desc, 3, tmp2_cached[3].m1(), value.
|
|
997
|
+
if (tmp1_output.pt(tmp0_desc, 3) ? true : !equals(value.o2q_1, emptyList())) {
|
|
998
|
+
tmp1_output.jt(tmp0_desc, 3, tmp2_cached[3].m1(), value.o2q_1);
|
|
969
999
|
}
|
|
970
1000
|
tmp1_output.ur(tmp0_desc);
|
|
971
1001
|
};
|
|
972
1002
|
protoOf($serializer_0).xo = function (encoder, value) {
|
|
973
|
-
return this.
|
|
1003
|
+
return this.k2q(encoder, value instanceof VersionData ? value : THROW_CCE());
|
|
974
1004
|
};
|
|
975
1005
|
protoOf($serializer_0).yo = function (decoder) {
|
|
976
|
-
var tmp0_desc = this.
|
|
1006
|
+
var tmp0_desc = this.j2q_1;
|
|
977
1007
|
var tmp1_flag = true;
|
|
978
1008
|
var tmp2_index = 0;
|
|
979
1009
|
var tmp3_bitMask0 = 0;
|
|
@@ -982,7 +1012,7 @@
|
|
|
982
1012
|
var tmp6_local2 = null;
|
|
983
1013
|
var tmp7_local3 = null;
|
|
984
1014
|
var tmp8_input = decoder.tr(tmp0_desc);
|
|
985
|
-
var tmp9_cached = Companion_getInstance_0().
|
|
1015
|
+
var tmp9_cached = Companion_getInstance_0().i2q_1;
|
|
986
1016
|
if (tmp8_input.js()) {
|
|
987
1017
|
tmp4_local0 = tmp8_input.ds(tmp0_desc, 0);
|
|
988
1018
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1023,10 +1053,10 @@
|
|
|
1023
1053
|
return VersionData_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1024
1054
|
};
|
|
1025
1055
|
protoOf($serializer_0).wo = function () {
|
|
1026
|
-
return this.
|
|
1056
|
+
return this.j2q_1;
|
|
1027
1057
|
};
|
|
1028
1058
|
protoOf($serializer_0).ez = function () {
|
|
1029
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
1059
|
+
var tmp0_cached = Companion_getInstance_0().i2q_1;
|
|
1030
1060
|
// Inline function 'kotlin.arrayOf' call
|
|
1031
1061
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1032
1062
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1040,18 +1070,18 @@
|
|
|
1040
1070
|
}
|
|
1041
1071
|
function VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker, $this) {
|
|
1042
1072
|
if (!(3 === (3 & seen0))) {
|
|
1043
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
1073
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().j2q_1);
|
|
1044
1074
|
}
|
|
1045
|
-
$this.
|
|
1046
|
-
$this.
|
|
1075
|
+
$this.l2q_1 = version;
|
|
1076
|
+
$this.m2q_1 = snapshot;
|
|
1047
1077
|
if (0 === (seen0 & 4))
|
|
1048
|
-
$this.
|
|
1078
|
+
$this.n2q_1 = emptyList();
|
|
1049
1079
|
else
|
|
1050
|
-
$this.
|
|
1080
|
+
$this.n2q_1 = snapshotReasons;
|
|
1051
1081
|
if (0 === (seen0 & 8))
|
|
1052
|
-
$this.
|
|
1082
|
+
$this.o2q_1 = emptyList();
|
|
1053
1083
|
else
|
|
1054
|
-
$this.
|
|
1084
|
+
$this.o2q_1 = warnings;
|
|
1055
1085
|
return $this;
|
|
1056
1086
|
}
|
|
1057
1087
|
function VersionData_init_$Create$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker) {
|
|
@@ -1061,19 +1091,19 @@
|
|
|
1061
1091
|
Companion_getInstance_0();
|
|
1062
1092
|
snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
|
|
1063
1093
|
warnings = warnings === VOID ? emptyList() : warnings;
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1067
|
-
this.
|
|
1094
|
+
this.l2q_1 = version;
|
|
1095
|
+
this.m2q_1 = snapshot;
|
|
1096
|
+
this.n2q_1 = snapshotReasons;
|
|
1097
|
+
this.o2q_1 = warnings;
|
|
1068
1098
|
}
|
|
1069
1099
|
protoOf(VersionData).toString = function () {
|
|
1070
|
-
return 'VersionData(version=' + this.
|
|
1100
|
+
return 'VersionData(version=' + this.l2q_1 + ', snapshot=' + this.m2q_1 + ', snapshotReasons=' + toString_0(this.n2q_1) + ', warnings=' + toString_0(this.o2q_1) + ')';
|
|
1071
1101
|
};
|
|
1072
1102
|
protoOf(VersionData).hashCode = function () {
|
|
1073
|
-
var result = getStringHashCode(this.
|
|
1074
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1075
|
-
result = imul(result, 31) + hashCode(this.m2q_1) | 0;
|
|
1103
|
+
var result = getStringHashCode(this.l2q_1);
|
|
1104
|
+
result = imul(result, 31) + getBooleanHashCode(this.m2q_1) | 0;
|
|
1076
1105
|
result = imul(result, 31) + hashCode(this.n2q_1) | 0;
|
|
1106
|
+
result = imul(result, 31) + hashCode(this.o2q_1) | 0;
|
|
1077
1107
|
return result;
|
|
1078
1108
|
};
|
|
1079
1109
|
protoOf(VersionData).equals = function (other) {
|
|
@@ -1081,14 +1111,14 @@
|
|
|
1081
1111
|
return true;
|
|
1082
1112
|
if (!(other instanceof VersionData))
|
|
1083
1113
|
return false;
|
|
1084
|
-
if (!(this.k2q_1 === other.k2q_1))
|
|
1085
|
-
return false;
|
|
1086
1114
|
if (!(this.l2q_1 === other.l2q_1))
|
|
1087
1115
|
return false;
|
|
1088
|
-
if (!
|
|
1116
|
+
if (!(this.m2q_1 === other.m2q_1))
|
|
1089
1117
|
return false;
|
|
1090
1118
|
if (!equals(this.n2q_1, other.n2q_1))
|
|
1091
1119
|
return false;
|
|
1120
|
+
if (!equals(this.o2q_1, other.o2q_1))
|
|
1121
|
+
return false;
|
|
1092
1122
|
return true;
|
|
1093
1123
|
};
|
|
1094
1124
|
function Companion_1() {
|
|
@@ -1106,21 +1136,21 @@
|
|
|
1106
1136
|
tmp0_serialDesc.cz('status', false);
|
|
1107
1137
|
tmp0_serialDesc.cz('error', false);
|
|
1108
1138
|
tmp0_serialDesc.cz('code', false);
|
|
1109
|
-
this.
|
|
1139
|
+
this.p2q_1 = tmp0_serialDesc;
|
|
1110
1140
|
}
|
|
1111
|
-
protoOf($serializer_1).
|
|
1112
|
-
var tmp0_desc = this.
|
|
1141
|
+
protoOf($serializer_1).q2q = function (encoder, value) {
|
|
1142
|
+
var tmp0_desc = this.p2q_1;
|
|
1113
1143
|
var tmp1_output = encoder.tr(tmp0_desc);
|
|
1114
|
-
tmp1_output.ht(tmp0_desc, 0, value.
|
|
1115
|
-
tmp1_output.ht(tmp0_desc, 1, value.
|
|
1116
|
-
tmp1_output.ht(tmp0_desc, 2, value.
|
|
1144
|
+
tmp1_output.ht(tmp0_desc, 0, value.r2q_1);
|
|
1145
|
+
tmp1_output.ht(tmp0_desc, 1, value.s2q_1);
|
|
1146
|
+
tmp1_output.ht(tmp0_desc, 2, value.t2q_1);
|
|
1117
1147
|
tmp1_output.ur(tmp0_desc);
|
|
1118
1148
|
};
|
|
1119
1149
|
protoOf($serializer_1).xo = function (encoder, value) {
|
|
1120
|
-
return this.
|
|
1150
|
+
return this.q2q(encoder, value instanceof ErrorResponse ? value : THROW_CCE());
|
|
1121
1151
|
};
|
|
1122
1152
|
protoOf($serializer_1).yo = function (decoder) {
|
|
1123
|
-
var tmp0_desc = this.
|
|
1153
|
+
var tmp0_desc = this.p2q_1;
|
|
1124
1154
|
var tmp1_flag = true;
|
|
1125
1155
|
var tmp2_index = 0;
|
|
1126
1156
|
var tmp3_bitMask0 = 0;
|
|
@@ -1162,7 +1192,7 @@
|
|
|
1162
1192
|
return ErrorResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1163
1193
|
};
|
|
1164
1194
|
protoOf($serializer_1).wo = function () {
|
|
1165
|
-
return this.
|
|
1195
|
+
return this.p2q_1;
|
|
1166
1196
|
};
|
|
1167
1197
|
protoOf($serializer_1).ez = function () {
|
|
1168
1198
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1178,28 +1208,28 @@
|
|
|
1178
1208
|
}
|
|
1179
1209
|
function ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, $this) {
|
|
1180
1210
|
if (!(7 === (7 & seen0))) {
|
|
1181
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_1().
|
|
1211
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_1().p2q_1);
|
|
1182
1212
|
}
|
|
1183
|
-
$this.
|
|
1184
|
-
$this.
|
|
1185
|
-
$this.
|
|
1213
|
+
$this.r2q_1 = status;
|
|
1214
|
+
$this.s2q_1 = error;
|
|
1215
|
+
$this.t2q_1 = code;
|
|
1186
1216
|
return $this;
|
|
1187
1217
|
}
|
|
1188
1218
|
function ErrorResponse_init_$Create$(seen0, status, error, code, serializationConstructorMarker) {
|
|
1189
1219
|
return ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, objectCreate(protoOf(ErrorResponse)));
|
|
1190
1220
|
}
|
|
1191
1221
|
function ErrorResponse(status, error, code) {
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1222
|
+
this.r2q_1 = status;
|
|
1223
|
+
this.s2q_1 = error;
|
|
1224
|
+
this.t2q_1 = code;
|
|
1195
1225
|
}
|
|
1196
1226
|
protoOf(ErrorResponse).toString = function () {
|
|
1197
|
-
return 'ErrorResponse(status=' + this.
|
|
1227
|
+
return 'ErrorResponse(status=' + this.r2q_1 + ', error=' + this.s2q_1 + ', code=' + this.t2q_1 + ')';
|
|
1198
1228
|
};
|
|
1199
1229
|
protoOf(ErrorResponse).hashCode = function () {
|
|
1200
|
-
var result = getStringHashCode(this.
|
|
1201
|
-
result = imul(result, 31) + getStringHashCode(this.r2q_1) | 0;
|
|
1230
|
+
var result = getStringHashCode(this.r2q_1);
|
|
1202
1231
|
result = imul(result, 31) + getStringHashCode(this.s2q_1) | 0;
|
|
1232
|
+
result = imul(result, 31) + getStringHashCode(this.t2q_1) | 0;
|
|
1203
1233
|
return result;
|
|
1204
1234
|
};
|
|
1205
1235
|
protoOf(ErrorResponse).equals = function (other) {
|
|
@@ -1207,12 +1237,12 @@
|
|
|
1207
1237
|
return true;
|
|
1208
1238
|
if (!(other instanceof ErrorResponse))
|
|
1209
1239
|
return false;
|
|
1210
|
-
if (!(this.q2q_1 === other.q2q_1))
|
|
1211
|
-
return false;
|
|
1212
1240
|
if (!(this.r2q_1 === other.r2q_1))
|
|
1213
1241
|
return false;
|
|
1214
1242
|
if (!(this.s2q_1 === other.s2q_1))
|
|
1215
1243
|
return false;
|
|
1244
|
+
if (!(this.t2q_1 === other.t2q_1))
|
|
1245
|
+
return false;
|
|
1216
1246
|
return true;
|
|
1217
1247
|
};
|
|
1218
1248
|
function Companion_2() {
|
|
@@ -1229,20 +1259,20 @@
|
|
|
1229
1259
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagSuccessResponse', this, 2);
|
|
1230
1260
|
tmp0_serialDesc.cz('status', false);
|
|
1231
1261
|
tmp0_serialDesc.cz('data', false);
|
|
1232
|
-
this.
|
|
1262
|
+
this.u2q_1 = tmp0_serialDesc;
|
|
1233
1263
|
}
|
|
1234
|
-
protoOf($serializer_2).
|
|
1235
|
-
var tmp0_desc = this.
|
|
1264
|
+
protoOf($serializer_2).v2q = function (encoder, value) {
|
|
1265
|
+
var tmp0_desc = this.u2q_1;
|
|
1236
1266
|
var tmp1_output = encoder.tr(tmp0_desc);
|
|
1237
|
-
tmp1_output.ht(tmp0_desc, 0, value.
|
|
1238
|
-
tmp1_output.jt(tmp0_desc, 1, $serializer_getInstance_3(), value.
|
|
1267
|
+
tmp1_output.ht(tmp0_desc, 0, value.w2q_1);
|
|
1268
|
+
tmp1_output.jt(tmp0_desc, 1, $serializer_getInstance_3(), value.x2q_1);
|
|
1239
1269
|
tmp1_output.ur(tmp0_desc);
|
|
1240
1270
|
};
|
|
1241
1271
|
protoOf($serializer_2).xo = function (encoder, value) {
|
|
1242
|
-
return this.
|
|
1272
|
+
return this.v2q(encoder, value instanceof TagSuccessResponse ? value : THROW_CCE());
|
|
1243
1273
|
};
|
|
1244
1274
|
protoOf($serializer_2).yo = function (decoder) {
|
|
1245
|
-
var tmp0_desc = this.
|
|
1275
|
+
var tmp0_desc = this.u2q_1;
|
|
1246
1276
|
var tmp1_flag = true;
|
|
1247
1277
|
var tmp2_index = 0;
|
|
1248
1278
|
var tmp3_bitMask0 = 0;
|
|
@@ -1277,7 +1307,7 @@
|
|
|
1277
1307
|
return TagSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1278
1308
|
};
|
|
1279
1309
|
protoOf($serializer_2).wo = function () {
|
|
1280
|
-
return this.
|
|
1310
|
+
return this.u2q_1;
|
|
1281
1311
|
};
|
|
1282
1312
|
protoOf($serializer_2).ez = function () {
|
|
1283
1313
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1293,25 +1323,25 @@
|
|
|
1293
1323
|
}
|
|
1294
1324
|
function TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
|
|
1295
1325
|
if (!(3 === (3 & seen0))) {
|
|
1296
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1326
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().u2q_1);
|
|
1297
1327
|
}
|
|
1298
|
-
$this.
|
|
1299
|
-
$this.
|
|
1328
|
+
$this.w2q_1 = status;
|
|
1329
|
+
$this.x2q_1 = data;
|
|
1300
1330
|
return $this;
|
|
1301
1331
|
}
|
|
1302
1332
|
function TagSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
|
|
1303
1333
|
return TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(TagSuccessResponse)));
|
|
1304
1334
|
}
|
|
1305
1335
|
function TagSuccessResponse(status, data) {
|
|
1306
|
-
this.
|
|
1307
|
-
this.
|
|
1336
|
+
this.w2q_1 = status;
|
|
1337
|
+
this.x2q_1 = data;
|
|
1308
1338
|
}
|
|
1309
1339
|
protoOf(TagSuccessResponse).toString = function () {
|
|
1310
|
-
return 'TagSuccessResponse(status=' + this.
|
|
1340
|
+
return 'TagSuccessResponse(status=' + this.w2q_1 + ', data=' + this.x2q_1.toString() + ')';
|
|
1311
1341
|
};
|
|
1312
1342
|
protoOf(TagSuccessResponse).hashCode = function () {
|
|
1313
|
-
var result = getStringHashCode(this.
|
|
1314
|
-
result = imul(result, 31) + this.
|
|
1343
|
+
var result = getStringHashCode(this.w2q_1);
|
|
1344
|
+
result = imul(result, 31) + this.x2q_1.hashCode() | 0;
|
|
1315
1345
|
return result;
|
|
1316
1346
|
};
|
|
1317
1347
|
protoOf(TagSuccessResponse).equals = function (other) {
|
|
@@ -1319,9 +1349,9 @@
|
|
|
1319
1349
|
return true;
|
|
1320
1350
|
if (!(other instanceof TagSuccessResponse))
|
|
1321
1351
|
return false;
|
|
1322
|
-
if (!(this.
|
|
1352
|
+
if (!(this.w2q_1 === other.w2q_1))
|
|
1323
1353
|
return false;
|
|
1324
|
-
if (!this.
|
|
1354
|
+
if (!this.x2q_1.equals(other.x2q_1))
|
|
1325
1355
|
return false;
|
|
1326
1356
|
return true;
|
|
1327
1357
|
};
|
|
@@ -1335,19 +1365,19 @@
|
|
|
1335
1365
|
$serializer_instance_3 = this;
|
|
1336
1366
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagData', this, 1);
|
|
1337
1367
|
tmp0_serialDesc.cz('tag', false);
|
|
1338
|
-
this.
|
|
1368
|
+
this.y2q_1 = tmp0_serialDesc;
|
|
1339
1369
|
}
|
|
1340
|
-
protoOf($serializer_3).
|
|
1341
|
-
var tmp0_desc = this.
|
|
1370
|
+
protoOf($serializer_3).z2q = function (encoder, value) {
|
|
1371
|
+
var tmp0_desc = this.y2q_1;
|
|
1342
1372
|
var tmp1_output = encoder.tr(tmp0_desc);
|
|
1343
|
-
tmp1_output.ht(tmp0_desc, 0, value.
|
|
1373
|
+
tmp1_output.ht(tmp0_desc, 0, value.a2r_1);
|
|
1344
1374
|
tmp1_output.ur(tmp0_desc);
|
|
1345
1375
|
};
|
|
1346
1376
|
protoOf($serializer_3).xo = function (encoder, value) {
|
|
1347
|
-
return this.
|
|
1377
|
+
return this.z2q(encoder, value instanceof TagData ? value : THROW_CCE());
|
|
1348
1378
|
};
|
|
1349
1379
|
protoOf($serializer_3).yo = function (decoder) {
|
|
1350
|
-
var tmp0_desc = this.
|
|
1380
|
+
var tmp0_desc = this.y2q_1;
|
|
1351
1381
|
var tmp1_flag = true;
|
|
1352
1382
|
var tmp2_index = 0;
|
|
1353
1383
|
var tmp3_bitMask0 = 0;
|
|
@@ -1375,7 +1405,7 @@
|
|
|
1375
1405
|
return TagData_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1376
1406
|
};
|
|
1377
1407
|
protoOf($serializer_3).wo = function () {
|
|
1378
|
-
return this.
|
|
1408
|
+
return this.y2q_1;
|
|
1379
1409
|
};
|
|
1380
1410
|
protoOf($serializer_3).ez = function () {
|
|
1381
1411
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1391,29 +1421,29 @@
|
|
|
1391
1421
|
}
|
|
1392
1422
|
function TagData_init_$Init$(seen0, tag, serializationConstructorMarker, $this) {
|
|
1393
1423
|
if (!(1 === (1 & seen0))) {
|
|
1394
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
1424
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().y2q_1);
|
|
1395
1425
|
}
|
|
1396
|
-
$this.
|
|
1426
|
+
$this.a2r_1 = tag;
|
|
1397
1427
|
return $this;
|
|
1398
1428
|
}
|
|
1399
1429
|
function TagData_init_$Create$(seen0, tag, serializationConstructorMarker) {
|
|
1400
1430
|
return TagData_init_$Init$(seen0, tag, serializationConstructorMarker, objectCreate(protoOf(TagData)));
|
|
1401
1431
|
}
|
|
1402
1432
|
function TagData(tag) {
|
|
1403
|
-
this.
|
|
1433
|
+
this.a2r_1 = tag;
|
|
1404
1434
|
}
|
|
1405
1435
|
protoOf(TagData).toString = function () {
|
|
1406
|
-
return 'TagData(tag=' + this.
|
|
1436
|
+
return 'TagData(tag=' + this.a2r_1 + ')';
|
|
1407
1437
|
};
|
|
1408
1438
|
protoOf(TagData).hashCode = function () {
|
|
1409
|
-
return getStringHashCode(this.
|
|
1439
|
+
return getStringHashCode(this.a2r_1);
|
|
1410
1440
|
};
|
|
1411
1441
|
protoOf(TagData).equals = function (other) {
|
|
1412
1442
|
if (this === other)
|
|
1413
1443
|
return true;
|
|
1414
1444
|
if (!(other instanceof TagData))
|
|
1415
1445
|
return false;
|
|
1416
|
-
if (!(this.
|
|
1446
|
+
if (!(this.a2r_1 === other.a2r_1))
|
|
1417
1447
|
return false;
|
|
1418
1448
|
return true;
|
|
1419
1449
|
};
|
|
@@ -1440,11 +1470,11 @@
|
|
|
1440
1470
|
}
|
|
1441
1471
|
function _get_gitRepoArgument__zxde8_0($this) {
|
|
1442
1472
|
var tmp = KProperty1;
|
|
1443
|
-
return $this.
|
|
1473
|
+
return $this.q2r_1.c1n($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
|
|
1444
1474
|
}
|
|
1445
1475
|
function _get_gitRepoOption__rk7ta0_0($this) {
|
|
1446
1476
|
var tmp = KProperty1;
|
|
1447
|
-
return $this.
|
|
1477
|
+
return $this.r2r_1.c1n($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
|
|
1448
1478
|
}
|
|
1449
1479
|
function _get_workingDirectory__eyfbj_0($this) {
|
|
1450
1480
|
var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
|
|
@@ -1459,35 +1489,35 @@
|
|
|
1459
1489
|
}
|
|
1460
1490
|
function _get_releaseBranch__pqrgbs_0($this) {
|
|
1461
1491
|
var tmp = KProperty1;
|
|
1462
|
-
return $this.
|
|
1492
|
+
return $this.s2r_1.c1n($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
|
|
1463
1493
|
}
|
|
1464
1494
|
function _get_version__2bx7w9($this) {
|
|
1465
1495
|
var tmp = KProperty1;
|
|
1466
|
-
return $this.
|
|
1496
|
+
return $this.t2r_1.c1n($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
|
|
1467
1497
|
}
|
|
1468
1498
|
function _get_userName__tupjmd($this) {
|
|
1469
1499
|
var tmp = KProperty1;
|
|
1470
|
-
return $this.
|
|
1500
|
+
return $this.u2r_1.c1n($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
|
|
1471
1501
|
}
|
|
1472
1502
|
function _get_userEmail__21hfkw($this) {
|
|
1473
1503
|
var tmp = KProperty1;
|
|
1474
|
-
return $this.
|
|
1504
|
+
return $this.v2r_1.c1n($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
|
|
1475
1505
|
}
|
|
1476
1506
|
function _get_allowDetachedHead__iyebhm_0($this) {
|
|
1477
1507
|
var tmp = KProperty1;
|
|
1478
|
-
return $this.
|
|
1508
|
+
return $this.w2r_1.c1n($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, Tag$_get_allowDetachedHead_$ref_qujqxn_0(), null));
|
|
1479
1509
|
}
|
|
1480
1510
|
function _get_dryRun__18z7px($this) {
|
|
1481
1511
|
var tmp = KProperty1;
|
|
1482
|
-
return $this.
|
|
1512
|
+
return $this.x2r_1.c1n($this, getPropertyCallableRef('dryRun', 1, tmp, Tag$_get_dryRun_$ref_agy9vo_0(), null));
|
|
1483
1513
|
}
|
|
1484
|
-
function
|
|
1514
|
+
function _get_warningsAsErrors__7mpwfd_0($this) {
|
|
1485
1515
|
var tmp = KProperty1;
|
|
1486
|
-
return $this.
|
|
1516
|
+
return $this.y2r_1.c1n($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
|
|
1487
1517
|
}
|
|
1488
1518
|
function _get_format__qlarck_0($this) {
|
|
1489
1519
|
var tmp = KProperty1;
|
|
1490
|
-
return $this.
|
|
1520
|
+
return $this.z2r_1.c1n($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
|
|
1491
1521
|
}
|
|
1492
1522
|
function Tag$lambda($this$context) {
|
|
1493
1523
|
$this$context.i1d([new ConfigFileSource($this$context.e1d_1)]);
|
|
@@ -1575,12 +1605,12 @@
|
|
|
1575
1605
|
}
|
|
1576
1606
|
function Tag$_get_warningsAsErrors_$ref_gj8a6o() {
|
|
1577
1607
|
return function (p0) {
|
|
1578
|
-
return
|
|
1608
|
+
return _get_warningsAsErrors__7mpwfd_0(p0);
|
|
1579
1609
|
};
|
|
1580
1610
|
}
|
|
1581
1611
|
function Tag$_get_warningsAsErrors_$ref_gj8a6o_0() {
|
|
1582
1612
|
return function (p0) {
|
|
1583
|
-
return
|
|
1613
|
+
return _get_warningsAsErrors__7mpwfd_0(p0);
|
|
1584
1614
|
};
|
|
1585
1615
|
}
|
|
1586
1616
|
function Tag$_get_format_$ref_i96vgt() {
|
|
@@ -1599,39 +1629,39 @@
|
|
|
1599
1629
|
var tmp = this;
|
|
1600
1630
|
var tmp_0 = optional(argument(this, 'git-repo'));
|
|
1601
1631
|
var tmp_1 = KProperty1;
|
|
1602
|
-
tmp.
|
|
1632
|
+
tmp.q2r_1 = tmp_0.i1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
|
|
1603
1633
|
var tmp_2 = this;
|
|
1604
1634
|
var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
|
|
1605
1635
|
var tmp_4 = KProperty1;
|
|
1606
|
-
tmp_2.
|
|
1636
|
+
tmp_2.r2r_1 = tmp_3.m1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
|
|
1607
1637
|
var tmp_5 = this;
|
|
1608
1638
|
var tmp_6 = required(option(this, [], 'Release branch name. Required unless provided in .tagger config file.'));
|
|
1609
1639
|
var tmp_7 = KProperty1;
|
|
1610
|
-
tmp_5.
|
|
1640
|
+
tmp_5.s2r_1 = tmp_6.m1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
|
|
1611
1641
|
var tmp_8 = this;
|
|
1612
1642
|
var tmp_9 = required(option(this, ['--version'], 'Version to tag (required)'));
|
|
1613
1643
|
var tmp_10 = KProperty1;
|
|
1614
|
-
tmp_8.
|
|
1644
|
+
tmp_8.t2r_1 = tmp_9.m1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
|
|
1615
1645
|
var tmp_11 = this;
|
|
1616
1646
|
var tmp_12 = option(this, []);
|
|
1617
1647
|
var tmp_13 = KProperty1;
|
|
1618
|
-
tmp_11.
|
|
1648
|
+
tmp_11.u2r_1 = tmp_12.m1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
|
|
1619
1649
|
var tmp_14 = this;
|
|
1620
1650
|
var tmp_15 = option(this, []);
|
|
1621
1651
|
var tmp_16 = KProperty1;
|
|
1622
|
-
tmp_14.
|
|
1652
|
+
tmp_14.v2r_1 = tmp_15.m1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
|
|
1623
1653
|
var tmp_17 = this;
|
|
1624
1654
|
var tmp_18 = default_0(boolean(option(this, ['--allow-detached-head'])), false);
|
|
1625
1655
|
var tmp_19 = KProperty1;
|
|
1626
|
-
tmp_17.
|
|
1656
|
+
tmp_17.w2r_1 = tmp_18.m1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_19, Tag$_get_allowDetachedHead_$ref_qujqxn(), null));
|
|
1627
1657
|
var tmp_20 = this;
|
|
1628
1658
|
var tmp_21 = default_0(boolean(option(this, ['--dry-run'])), false);
|
|
1629
1659
|
var tmp_22 = KProperty1;
|
|
1630
|
-
tmp_20.
|
|
1660
|
+
tmp_20.x2r_1 = tmp_21.m1n(this, getPropertyCallableRef('dryRun', 1, tmp_22, Tag$_get_dryRun_$ref_agy9vo(), null));
|
|
1631
1661
|
var tmp_23 = this;
|
|
1632
1662
|
var tmp_24 = default_0(boolean(option(this, [])), false);
|
|
1633
1663
|
var tmp_25 = KProperty1;
|
|
1634
|
-
tmp_23.
|
|
1664
|
+
tmp_23.y2r_1 = tmp_24.m1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
|
|
1635
1665
|
var tmp_26 = this;
|
|
1636
1666
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
1637
1667
|
var this_0 = option(this, ['--format'], 'Output format for result');
|
|
@@ -1654,7 +1684,7 @@
|
|
|
1654
1684
|
var tmp$ret$0 = choice(this_0, destination, VOID, true);
|
|
1655
1685
|
var tmp_27 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance(), 'text');
|
|
1656
1686
|
var tmp_28 = KProperty1;
|
|
1657
|
-
tmp_26.
|
|
1687
|
+
tmp_26.z2r_1 = tmp_27.m1n(this, getPropertyCallableRef('format', 1, tmp_28, Tag$_get_format_$ref_i96vgt(), null));
|
|
1658
1688
|
}
|
|
1659
1689
|
protoOf(Tag).g1b = function (context) {
|
|
1660
1690
|
return protoOf(CliktCommand).g1b.call(this, context) + '\n\n' + configFileHelpSuffix();
|
|
@@ -1683,14 +1713,14 @@
|
|
|
1683
1713
|
break;
|
|
1684
1714
|
}
|
|
1685
1715
|
} else {
|
|
1686
|
-
if (it instanceof
|
|
1716
|
+
if (it instanceof Warning) {
|
|
1687
1717
|
switch (_get_format__qlarck_0(this).y2_1) {
|
|
1688
1718
|
case 1:
|
|
1689
1719
|
this.o1c(errorResponse(it.ko_1, 'TAG_ERROR'));
|
|
1690
|
-
var tmp3_statusCode =
|
|
1720
|
+
var tmp3_statusCode = _get_warningsAsErrors__7mpwfd_0(this) ? 1 : 0;
|
|
1691
1721
|
throw new CliktError('', VOID, tmp3_statusCode, false);
|
|
1692
1722
|
case 0:
|
|
1693
|
-
if (
|
|
1723
|
+
if (_get_warningsAsErrors__7mpwfd_0(this)) {
|
|
1694
1724
|
throw new CliktError(it.ko_1);
|
|
1695
1725
|
} else {
|
|
1696
1726
|
this.o1c(it.ko_1, VOID, true);
|
|
@@ -1718,7 +1748,7 @@
|
|
|
1718
1748
|
}
|
|
1719
1749
|
function _get_quiet__c6dzoj($this) {
|
|
1720
1750
|
var tmp = KProperty1;
|
|
1721
|
-
return $this.
|
|
1751
|
+
return $this.p2s_1.c1n($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
|
|
1722
1752
|
}
|
|
1723
1753
|
function Tagger$lambda($this$context) {
|
|
1724
1754
|
var tmp = $this$context;
|
|
@@ -1756,7 +1786,7 @@
|
|
|
1756
1786
|
var tmp = this;
|
|
1757
1787
|
var tmp_0 = flag(option(this, ['--quiet', '-q'], 'Suppress welcome message. Version goes to stdout, diagnostics to stderr (safe for: VERSION=$(tagger -q ...))'), [], false);
|
|
1758
1788
|
var tmp_1 = KProperty1;
|
|
1759
|
-
tmp.
|
|
1789
|
+
tmp.p2s_1 = tmp_0.m1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
|
|
1760
1790
|
}
|
|
1761
1791
|
protoOf(Tagger).g1b = function (context) {
|
|
1762
1792
|
return trimIndent('\n ' + configurationSection(this) + '\n\n ' + outputSection(this) + '\n\n ' + automationSection(this) + '\n ');
|