git-semver-tagger 2.3.0 → 2.4.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.
@@ -2,57 +2,57 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var split = kotlin_kotlin.$_$.oc;
6
- var collectionSizeOrDefault = kotlin_kotlin.$_$.t4;
7
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.y;
8
- var toInt = kotlin_kotlin.$_$.bd;
5
+ var split = kotlin_kotlin.$_$.hd;
6
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.z4;
7
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.z;
8
+ var toInt = kotlin_kotlin.$_$.ud;
9
9
  var Unit_instance = kotlin_kotlin.$_$.v;
10
- var charSequenceLength = kotlin_kotlin.$_$.w8;
11
- var charSequenceGet = kotlin_kotlin.$_$.v8;
12
- var digitToIntOrNull = kotlin_kotlin.$_$.qb;
13
- var substring = kotlin_kotlin.$_$.uc;
14
- var listOf = kotlin_kotlin.$_$.f6;
15
- var emptyList = kotlin_kotlin.$_$.j5;
16
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.z;
17
- var protoOf = kotlin_kotlin.$_$.da;
18
- var initMetadataForClass = kotlin_kotlin.$_$.f9;
10
+ var charSequenceLength = kotlin_kotlin.$_$.i9;
11
+ var charSequenceGet = kotlin_kotlin.$_$.h9;
12
+ var digitToIntOrNull = kotlin_kotlin.$_$.ec;
13
+ var substring = kotlin_kotlin.$_$.nd;
14
+ var listOf = kotlin_kotlin.$_$.q6;
15
+ var emptyList = kotlin_kotlin.$_$.q5;
16
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.a1;
17
+ var protoOf = kotlin_kotlin.$_$.pa;
18
+ var initMetadataForClass = kotlin_kotlin.$_$.r9;
19
19
  var VOID = kotlin_kotlin.$_$.c;
20
- var enumEntries = kotlin_kotlin.$_$.s7;
21
- var Enum = kotlin_kotlin.$_$.vd;
22
- var getStringHashCode = kotlin_kotlin.$_$.d9;
23
- var getBooleanHashCode = kotlin_kotlin.$_$.a9;
24
- var lineSequence = kotlin_kotlin.$_$.ec;
25
- var firstOrNull = kotlin_kotlin.$_$.cb;
26
- var THROW_CCE = kotlin_kotlin.$_$.de;
27
- var isCharSequence = kotlin_kotlin.$_$.p9;
28
- var trim = kotlin_kotlin.$_$.md;
29
- var toString = kotlin_kotlin.$_$.fa;
20
+ var enumEntries = kotlin_kotlin.$_$.e8;
21
+ var Enum = kotlin_kotlin.$_$.pe;
22
+ var getStringHashCode = kotlin_kotlin.$_$.p9;
23
+ var getBooleanHashCode = kotlin_kotlin.$_$.m9;
24
+ var lineSequence = kotlin_kotlin.$_$.uc;
25
+ var firstOrNull = kotlin_kotlin.$_$.pb;
26
+ var THROW_CCE = kotlin_kotlin.$_$.xe;
27
+ var isCharSequence = kotlin_kotlin.$_$.ba;
28
+ var trim = kotlin_kotlin.$_$.fe;
29
+ var toString = kotlin_kotlin.$_$.ra;
30
30
  var Companion_instance = kotlin_kotlin.$_$.q;
31
- var get = kotlin_kotlin.$_$.vb;
32
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.h2;
33
- var createFailure = kotlin_kotlin.$_$.se;
34
- var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.j2;
35
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.l2;
36
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.p1;
37
- var joinToString = kotlin_kotlin.$_$.v5;
38
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d2;
39
- var removePrefix = kotlin_kotlin.$_$.hc;
40
- var last = kotlin_kotlin.$_$.c6;
41
- var substringBefore = kotlin_kotlin.$_$.sc;
42
- var contains = kotlin_kotlin.$_$.ob;
43
- var to = kotlin_kotlin.$_$.df;
44
- var startsWith = kotlin_kotlin.$_$.pc;
45
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.k2;
46
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.i2;
31
+ var get = kotlin_kotlin.$_$.jc;
32
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n2;
33
+ var createFailure = kotlin_kotlin.$_$.mf;
34
+ var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.p2;
35
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.r2;
36
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.q1;
37
+ var joinToString = kotlin_kotlin.$_$.d6;
38
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.i2;
39
+ var removePrefix = kotlin_kotlin.$_$.yc;
40
+ var last = kotlin_kotlin.$_$.n6;
41
+ var substringBefore = kotlin_kotlin.$_$.ld;
42
+ var contains = kotlin_kotlin.$_$.cc;
43
+ var to = kotlin_kotlin.$_$.xf;
44
+ var startsWith = kotlin_kotlin.$_$.id;
45
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.q2;
46
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.o2;
47
47
  var ProcessError = kotlin_com_zegreatrob_tools_git_adapter.$_$.b;
48
- var mapOf = kotlin_kotlin.$_$.j6;
49
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.i1;
50
- var initMetadataForObject = kotlin_kotlin.$_$.k9;
51
- var hashCode = kotlin_kotlin.$_$.e9;
52
- var equals = kotlin_kotlin.$_$.z8;
48
+ var mapOf = kotlin_kotlin.$_$.u6;
49
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.j1;
50
+ var initMetadataForObject = kotlin_kotlin.$_$.w9;
51
+ var hashCode = kotlin_kotlin.$_$.q9;
52
+ var equals = kotlin_kotlin.$_$.l9;
53
53
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.a;
54
- var initMetadataForCompanion = kotlin_kotlin.$_$.g9;
55
- var toString_0 = kotlin_kotlin.$_$.cf;
54
+ var initMetadataForCompanion = kotlin_kotlin.$_$.s9;
55
+ var toString_0 = kotlin_kotlin.$_$.wf;
56
56
  //endregion
57
57
  //region block: pre-declaration
58
58
  initMetadataForClass(SnapshotReason, 'SnapshotReason', VOID, Enum);
@@ -117,11 +117,11 @@
117
117
  return substring(_this__u8e3s4, startIndex);
118
118
  }
119
119
  function calculateNextVersion(_this__u8e3s4, implicitPatch, allowDetachedHead, versionRegex, forceSnapshot, releaseBranch) {
120
- var gitStatus = _this__u8e3s4.fm_1.ql();
120
+ var gitStatus = _this__u8e3s4.gm_1.rl();
121
121
  var tmp;
122
122
  if (!allowDetachedHead) {
123
123
  // Inline function 'kotlin.text.isEmpty' call
124
- var this_0 = gitStatus.wl_1;
124
+ var this_0 = gitStatus.xl_1;
125
125
  tmp = charSequenceLength(this_0) === 0;
126
126
  } else {
127
127
  tmp = false;
@@ -133,7 +133,7 @@
133
133
  var tmp_0;
134
134
  if (tmp0_elvis_lhs == null) {
135
135
  // Inline function 'kotlin.run' call
136
- var allTagNames = _this__u8e3s4.fm_1.nl();
136
+ var allTagNames = _this__u8e3s4.gm_1.ol();
137
137
  var tmp_1;
138
138
  // Inline function 'kotlin.collections.isNotEmpty' call
139
139
  if (!allTagNames.p()) {
@@ -156,8 +156,8 @@
156
156
  tmp_2 = tmp1_elvis_lhs;
157
157
  }
158
158
  var previousVersionComponents = tmp_2;
159
- var incrementComponent = findAppropriateIncrement(_this__u8e3s4.fm_1, lastTagDescription, implicitPatch, versionRegex);
160
- var tmp3_elvis_lhs = incrementComponent == null ? null : incrementComponent.jm(previousVersionComponents);
159
+ var incrementComponent = findAppropriateIncrement(_this__u8e3s4.gm_1, lastTagDescription, implicitPatch, versionRegex);
160
+ var tmp3_elvis_lhs = incrementComponent == null ? null : incrementComponent.km(previousVersionComponents);
161
161
  var currentVersionNumber = tmp3_elvis_lhs == null ? previousVersionNumber : tmp3_elvis_lhs;
162
162
  var reasonsToUseSnapshot = snapshotReasons(releaseBranch, currentVersionNumber, previousVersionNumber, gitStatus, forceSnapshot);
163
163
  // Inline function 'kotlin.collections.isNotEmpty' call
@@ -170,13 +170,13 @@
170
170
  var tmp_4;
171
171
  if (allowDetachedHead) {
172
172
  // Inline function 'kotlin.text.isEmpty' call
173
- var this_2 = gitStatus.wl_1;
173
+ var this_2 = gitStatus.xl_1;
174
174
  tmp_4 = charSequenceLength(this_2) === 0;
175
175
  } else {
176
176
  tmp_4 = false;
177
177
  }
178
178
  if (tmp_4) {
179
- tmp_3 = gitStatus.vl_1 === releaseBranch;
179
+ tmp_3 = gitStatus.wl_1 === releaseBranch;
180
180
  } else {
181
181
  tmp_3 = false;
182
182
  }
@@ -190,48 +190,48 @@
190
190
  SnapshotReason.call(this, 'FORCED', 0, 'Snapshot forced via --force-snapshot flag.');
191
191
  SnapshotReason_FORCED_instance = this;
192
192
  }
193
- protoOf(SnapshotReason$FORCED).nm = function (_this__u8e3s4) {
194
- return _this__u8e3s4.sm_1;
193
+ protoOf(SnapshotReason$FORCED).om = function (_this__u8e3s4) {
194
+ return _this__u8e3s4.tm_1;
195
195
  };
196
196
  var SnapshotReason_FORCED_instance;
197
197
  function SnapshotReason$DIRTY() {
198
198
  SnapshotReason.call(this, 'DIRTY', 1, 'Uncommitted changes in working directory. Commit or stash before tagging.');
199
199
  SnapshotReason_DIRTY_instance = this;
200
200
  }
201
- protoOf(SnapshotReason$DIRTY).nm = function (_this__u8e3s4) {
202
- return !_this__u8e3s4.om_1.sl_1;
201
+ protoOf(SnapshotReason$DIRTY).om = function (_this__u8e3s4) {
202
+ return !_this__u8e3s4.pm_1.tl_1;
203
203
  };
204
204
  var SnapshotReason_DIRTY_instance;
205
205
  function SnapshotReason$AHEAD() {
206
206
  SnapshotReason.call(this, 'AHEAD', 2, 'Local branch ahead of remote. Push changes before tagging.');
207
207
  SnapshotReason_AHEAD_instance = this;
208
208
  }
209
- protoOf(SnapshotReason$AHEAD).nm = function (_this__u8e3s4) {
210
- return !(_this__u8e3s4.om_1.tl_1 === 0);
209
+ protoOf(SnapshotReason$AHEAD).om = function (_this__u8e3s4) {
210
+ return !(_this__u8e3s4.pm_1.ul_1 === 0);
211
211
  };
212
212
  var SnapshotReason_AHEAD_instance;
213
213
  function SnapshotReason$BEHIND() {
214
214
  SnapshotReason.call(this, 'BEHIND', 3, 'Local branch behind remote. Pull changes before tagging.');
215
215
  SnapshotReason_BEHIND_instance = this;
216
216
  }
217
- protoOf(SnapshotReason$BEHIND).nm = function (_this__u8e3s4) {
218
- return !(_this__u8e3s4.om_1.ul_1 === 0);
217
+ protoOf(SnapshotReason$BEHIND).om = function (_this__u8e3s4) {
218
+ return !(_this__u8e3s4.pm_1.vl_1 === 0);
219
219
  };
220
220
  var SnapshotReason_BEHIND_instance;
221
221
  function SnapshotReason$NOT_RELEASE_BRANCH() {
222
222
  SnapshotReason.call(this, 'NOT_RELEASE_BRANCH', 4, 'Not on configured release branch. Switch to release branch before tagging.');
223
223
  SnapshotReason_NOT_RELEASE_BRANCH_instance = this;
224
224
  }
225
- protoOf(SnapshotReason$NOT_RELEASE_BRANCH).nm = function (_this__u8e3s4) {
226
- return !(_this__u8e3s4.om_1.vl_1 === _this__u8e3s4.pm_1);
225
+ protoOf(SnapshotReason$NOT_RELEASE_BRANCH).om = function (_this__u8e3s4) {
226
+ return !(_this__u8e3s4.pm_1.wl_1 === _this__u8e3s4.qm_1);
227
227
  };
228
228
  var SnapshotReason_NOT_RELEASE_BRANCH_instance;
229
229
  function SnapshotReason$NO_NEW_VERSION() {
230
230
  SnapshotReason.call(this, 'NO_NEW_VERSION', 5, 'No new commits since last tag. Version unchanged.');
231
231
  SnapshotReason_NO_NEW_VERSION_instance = this;
232
232
  }
233
- protoOf(SnapshotReason$NO_NEW_VERSION).nm = function (_this__u8e3s4) {
234
- return _this__u8e3s4.qm_1 === _this__u8e3s4.rm_1;
233
+ protoOf(SnapshotReason$NO_NEW_VERSION).om = function (_this__u8e3s4) {
234
+ return _this__u8e3s4.rm_1 === _this__u8e3s4.sm_1;
235
235
  };
236
236
  var SnapshotReason_NO_NEW_VERSION_instance;
237
237
  function values() {
@@ -257,16 +257,16 @@
257
257
  var $ENTRIES;
258
258
  function SnapshotReason(name, ordinal, message) {
259
259
  Enum.call(this, name, ordinal);
260
- this.vm_1 = message;
260
+ this.wm_1 = message;
261
261
  }
262
- protoOf(SnapshotReason).wm = function (check) {
263
- return this.nm(check);
262
+ protoOf(SnapshotReason).xm = function (check) {
263
+ return this.om(check);
264
264
  };
265
265
  function ChangeType$Major() {
266
266
  ChangeType.call(this, 'Major', 0, 3);
267
267
  ChangeType_Major_instance = this;
268
268
  }
269
- protoOf(ChangeType$Major).jm = function (components) {
269
+ protoOf(ChangeType$Major).km = function (components) {
270
270
  // Inline function 'kotlin.collections.component1' call
271
271
  var major = components.c1(0);
272
272
  return '' + (major + 1 | 0) + '.0.0';
@@ -276,7 +276,7 @@
276
276
  ChangeType.call(this, 'Minor', 1, 2);
277
277
  ChangeType_Minor_instance = this;
278
278
  }
279
- protoOf(ChangeType$Minor).jm = function (components) {
279
+ protoOf(ChangeType$Minor).km = function (components) {
280
280
  // Inline function 'kotlin.collections.component1' call
281
281
  var major = components.c1(0);
282
282
  // Inline function 'kotlin.collections.component2' call
@@ -288,7 +288,7 @@
288
288
  ChangeType.call(this, 'Patch', 2, 1);
289
289
  ChangeType_Patch_instance = this;
290
290
  }
291
- protoOf(ChangeType$Patch).jm = function (components) {
291
+ protoOf(ChangeType$Patch).km = function (components) {
292
292
  // Inline function 'kotlin.collections.component1' call
293
293
  var major = components.c1(0);
294
294
  // Inline function 'kotlin.collections.component2' call
@@ -302,7 +302,7 @@
302
302
  ChangeType.call(this, 'None', 3, 0);
303
303
  ChangeType_None_instance = this;
304
304
  }
305
- protoOf(ChangeType$None).jm = function (components) {
305
+ protoOf(ChangeType$None).km = function (components) {
306
306
  // Inline function 'kotlin.collections.component1' call
307
307
  var major = components.c1(0);
308
308
  // Inline function 'kotlin.collections.component2' call
@@ -324,10 +324,10 @@
324
324
  }
325
325
  function ChangeType(name, ordinal, priority) {
326
326
  Enum.call(this, name, ordinal);
327
- this.im_1 = priority;
327
+ this.jm_1 = priority;
328
328
  }
329
329
  function findAppropriateIncrement(gitAdapter, previousTag, implicitPatch, minorRegex) {
330
- var commits = gitAdapter.pl('HEAD', '^' + previousTag);
330
+ var commits = gitAdapter.ql('HEAD', '^' + previousTag);
331
331
  if (commits.p())
332
332
  return null;
333
333
  // Inline function 'kotlin.collections.map' call
@@ -362,28 +362,28 @@
362
362
  var _iterator__ex2g4s = tmp0.r();
363
363
  while (_iterator__ex2g4s.s()) {
364
364
  var element = _iterator__ex2g4s.t();
365
- if (element.wm(statusCheck)) {
365
+ if (element.xm(statusCheck)) {
366
366
  destination.v(element);
367
367
  }
368
368
  }
369
369
  return destination;
370
370
  }
371
371
  function StatusCheck(gitStatus, releaseBranch, currentVersionNumber, previousVersionNumber, forceSnapshot) {
372
- this.om_1 = gitStatus;
373
- this.pm_1 = releaseBranch;
374
- this.qm_1 = currentVersionNumber;
375
- this.rm_1 = previousVersionNumber;
376
- this.sm_1 = forceSnapshot;
372
+ this.pm_1 = gitStatus;
373
+ this.qm_1 = releaseBranch;
374
+ this.rm_1 = currentVersionNumber;
375
+ this.sm_1 = previousVersionNumber;
376
+ this.tm_1 = forceSnapshot;
377
377
  }
378
378
  protoOf(StatusCheck).toString = function () {
379
- return 'StatusCheck(gitStatus=' + this.om_1.toString() + ', releaseBranch=' + this.pm_1 + ', currentVersionNumber=' + this.qm_1 + ', previousVersionNumber=' + this.rm_1 + ', forceSnapshot=' + this.sm_1 + ')';
379
+ return 'StatusCheck(gitStatus=' + this.pm_1.toString() + ', releaseBranch=' + this.qm_1 + ', currentVersionNumber=' + this.rm_1 + ', previousVersionNumber=' + this.sm_1 + ', forceSnapshot=' + this.tm_1 + ')';
380
380
  };
381
381
  protoOf(StatusCheck).hashCode = function () {
382
- var result = this.om_1.hashCode();
383
- result = imul(result, 31) + getStringHashCode(this.pm_1) | 0;
382
+ var result = this.pm_1.hashCode();
384
383
  result = imul(result, 31) + getStringHashCode(this.qm_1) | 0;
385
384
  result = imul(result, 31) + getStringHashCode(this.rm_1) | 0;
386
- result = imul(result, 31) + getBooleanHashCode(this.sm_1) | 0;
385
+ result = imul(result, 31) + getStringHashCode(this.sm_1) | 0;
386
+ result = imul(result, 31) + getBooleanHashCode(this.tm_1) | 0;
387
387
  return result;
388
388
  };
389
389
  protoOf(StatusCheck).equals = function (other) {
@@ -391,9 +391,7 @@
391
391
  return true;
392
392
  if (!(other instanceof StatusCheck))
393
393
  return false;
394
- if (!this.om_1.equals(other.om_1))
395
- return false;
396
- if (!(this.pm_1 === other.pm_1))
394
+ if (!this.pm_1.equals(other.pm_1))
397
395
  return false;
398
396
  if (!(this.qm_1 === other.qm_1))
399
397
  return false;
@@ -401,30 +399,32 @@
401
399
  return false;
402
400
  if (!(this.sm_1 === other.sm_1))
403
401
  return false;
402
+ if (!(this.tm_1 === other.tm_1))
403
+ return false;
404
404
  return true;
405
405
  };
406
406
  function changeType(_this__u8e3s4, versionRegex) {
407
407
  return changeType_0(versionRegex, subject(_this__u8e3s4));
408
408
  }
409
409
  function highestPriority(left, right) {
410
- return left == null ? right : right == null ? left : left.im_1 > right.im_1 ? left : right;
410
+ return left == null ? right : right == null ? left : left.jm_1 > right.jm_1 ? left : right;
411
411
  }
412
412
  function changeType_0(_this__u8e3s4, message) {
413
413
  var tmp;
414
- var tmp0_safe_receiver = _this__u8e3s4.co_1;
414
+ var tmp0_safe_receiver = _this__u8e3s4.do_1;
415
415
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fc(message)) === true) {
416
- tmp = findMatchType(message, _this__u8e3s4.co_1);
416
+ tmp = findMatchType(message, _this__u8e3s4.do_1);
417
417
  } else {
418
- if (_this__u8e3s4.bo_1.fc(message)) {
418
+ if (_this__u8e3s4.co_1.fc(message)) {
419
419
  tmp = ChangeType_Major_getInstance();
420
420
  } else {
421
- if (_this__u8e3s4.ao_1.fc(message)) {
421
+ if (_this__u8e3s4.bo_1.fc(message)) {
422
422
  tmp = ChangeType_Minor_getInstance();
423
423
  } else {
424
- if (_this__u8e3s4.zn_1.fc(message)) {
424
+ if (_this__u8e3s4.ao_1.fc(message)) {
425
425
  tmp = ChangeType_Patch_getInstance();
426
426
  } else {
427
- if (_this__u8e3s4.yn_1.fc(message)) {
427
+ if (_this__u8e3s4.zn_1.fc(message)) {
428
428
  tmp = ChangeType_None_getInstance();
429
429
  } else {
430
430
  tmp = null;
@@ -436,7 +436,7 @@
436
436
  return tmp;
437
437
  }
438
438
  function subject(_this__u8e3s4) {
439
- var tmp0_safe_receiver = firstOrNull(lineSequence(_this__u8e3s4.fl_1));
439
+ var tmp0_safe_receiver = firstOrNull(lineSequence(_this__u8e3s4.gl_1));
440
440
  var tmp;
441
441
  if (tmp0_safe_receiver == null) {
442
442
  tmp = null;
@@ -536,7 +536,7 @@
536
536
  }
537
537
  function FailureVersionReasons(name, ordinal, message) {
538
538
  Enum.call(this, name, ordinal);
539
- this.fo_1 = message;
539
+ this.go_1 = message;
540
540
  }
541
541
  function lightweightTagsFound(tags) {
542
542
  // Inline function 'kotlin.text.buildString' call
@@ -592,7 +592,7 @@
592
592
  return FailureVersionReasons_VersionMissingElements_instance;
593
593
  }
594
594
  function lastVersionAndTag(_this__u8e3s4) {
595
- var tmp0_elvis_lhs = _this__u8e3s4.fm_1.rl(0);
595
+ var tmp0_elvis_lhs = _this__u8e3s4.gm_1.sl(0);
596
596
  var tmp;
597
597
  if (tmp0_elvis_lhs == null) {
598
598
  return null;
@@ -631,9 +631,9 @@
631
631
  function tag(_this__u8e3s4, version, releaseBranch, userName, userEmail, allowDetachedHead) {
632
632
  allowDetachedHead = allowDetachedHead === VOID ? false : allowDetachedHead;
633
633
  var isSnapshot_0 = isSnapshot(version);
634
- var headTag = _this__u8e3s4.fm_1.ol('HEAD');
634
+ var headTag = _this__u8e3s4.gm_1.pl('HEAD');
635
635
  var alreadyTagged = !(headTag == null);
636
- var headBranch = _this__u8e3s4.fm_1.ql().vl_1;
636
+ var headBranch = _this__u8e3s4.gm_1.rl().wl_1;
637
637
  var isDetachedHead = headBranch === 'HEAD' || startsWith(headBranch, '(detached');
638
638
  var isNotOnReleaseBranch = !(headBranch === releaseBranch) && !(allowDetachedHead && isDetachedHead);
639
639
  var tmp;
@@ -642,7 +642,7 @@
642
642
  var tmp_1 = to(isSnapshot_0, "being snapshot. Run 'tagger calculate-version' to see why this version has -SNAPSHOT suffix");
643
643
  var tmp_2 = TagErrors_instance;
644
644
  // Inline function 'kotlin.collections.filterKeys' call
645
- var this_0 = mapOf([tmp_1, to(alreadyTagged, tmp_2.ho(headTag == null ? null : headTag.cm_1)), to(isNotOnReleaseBranch, TagErrors_instance.io(releaseBranch, headBranch))]);
645
+ var this_0 = mapOf([tmp_1, to(alreadyTagged, tmp_2.io(headTag == null ? null : headTag.dm_1)), to(isNotOnReleaseBranch, TagErrors_instance.jo(releaseBranch, headBranch))]);
646
646
  var result = LinkedHashMap_init_$Create$();
647
647
  // Inline function 'kotlin.collections.iterator' call
648
648
  var _iterator__ex2g4s = this_0.k1().r();
@@ -652,12 +652,12 @@
652
652
  result.p2(entry.l1(), entry.m1());
653
653
  }
654
654
  }
655
- tmp = new Warning(tmp_0.jo(joinToString(result.o2(), ', ')));
655
+ tmp = new Warning(tmp_0.ko(joinToString(result.o2(), ', ')));
656
656
  } else {
657
657
  // Inline function 'kotlin.runCatching' call
658
658
  var tmp_3;
659
659
  try {
660
- _this__u8e3s4.fm_1.ll(version, 'HEAD', userName, userEmail);
660
+ _this__u8e3s4.gm_1.ml(version, 'HEAD', userName, userEmail);
661
661
  // Inline function 'kotlin.Companion.success' call
662
662
  tmp_3 = _Result___init__impl__xyqfz8(Unit_instance);
663
663
  } catch ($p) {
@@ -676,7 +676,7 @@
676
676
  var tmp_5;
677
677
  if (_Result___get_isSuccess__impl__sndoy8(this_1)) {
678
678
  _Result___get_value__impl__bjfvqg(this_1);
679
- _this__u8e3s4.fm_1.ml();
679
+ _this__u8e3s4.gm_1.nl();
680
680
  // Inline function 'kotlin.Companion.success' call
681
681
  var value = Success_getInstance();
682
682
  tmp_5 = _Result___init__impl__xyqfz8(value);
@@ -692,7 +692,7 @@
692
692
  } else {
693
693
  var tmp_7;
694
694
  if (exception instanceof ProcessError) {
695
- tmp_7 = exception.bm();
695
+ tmp_7 = exception.cm();
696
696
  } else {
697
697
  var tmp1_elvis_lhs = exception.message;
698
698
  tmp_7 = tmp1_elvis_lhs == null ? 'Unknown error during tagging' : tmp1_elvis_lhs;
@@ -707,15 +707,15 @@
707
707
  return contains(_this__u8e3s4, 'SNAPSHOT');
708
708
  }
709
709
  function TagErrors() {
710
- this.go_1 = "being snapshot. Run 'tagger calculate-version' to see why this version has -SNAPSHOT suffix";
710
+ this.ho_1 = "being snapshot. Run 'tagger calculate-version' to see why this version has -SNAPSHOT suffix";
711
711
  }
712
- protoOf(TagErrors).jo = function (messages) {
712
+ protoOf(TagErrors).ko = function (messages) {
713
713
  return 'skipping tag due to ' + messages;
714
714
  };
715
- protoOf(TagErrors).ho = function (headTag) {
715
+ protoOf(TagErrors).io = function (headTag) {
716
716
  return 'already tagged ' + headTag;
717
717
  };
718
- protoOf(TagErrors).io = function (releaseBranch, headBranch) {
718
+ protoOf(TagErrors).jo = function (releaseBranch, headBranch) {
719
719
  return 'not on release branch ' + releaseBranch + ' - branch was ' + headBranch;
720
720
  };
721
721
  var TagErrors_instance;
@@ -747,49 +747,49 @@
747
747
  }
748
748
  function Warning(message) {
749
749
  TagResult.call(this);
750
- this.ko_1 = message;
750
+ this.lo_1 = message;
751
751
  }
752
752
  protoOf(Warning).toString = function () {
753
- return 'Warning(message=' + this.ko_1 + ')';
753
+ return 'Warning(message=' + this.lo_1 + ')';
754
754
  };
755
755
  protoOf(Warning).hashCode = function () {
756
- return getStringHashCode(this.ko_1);
756
+ return getStringHashCode(this.lo_1);
757
757
  };
758
758
  protoOf(Warning).equals = function (other) {
759
759
  if (this === other)
760
760
  return true;
761
761
  if (!(other instanceof Warning))
762
762
  return false;
763
- if (!(this.ko_1 === other.ko_1))
763
+ if (!(this.lo_1 === other.lo_1))
764
764
  return false;
765
765
  return true;
766
766
  };
767
767
  function TagResult() {
768
768
  }
769
769
  function TaggerCore(adapter) {
770
- this.fm_1 = adapter;
770
+ this.gm_1 = adapter;
771
771
  }
772
772
  protoOf(TaggerCore).toString = function () {
773
- return 'TaggerCore(adapter=' + toString(this.fm_1) + ')';
773
+ return 'TaggerCore(adapter=' + toString(this.gm_1) + ')';
774
774
  };
775
775
  protoOf(TaggerCore).hashCode = function () {
776
- return hashCode(this.fm_1);
776
+ return hashCode(this.gm_1);
777
777
  };
778
778
  protoOf(TaggerCore).equals = function (other) {
779
779
  if (this === other)
780
780
  return true;
781
781
  if (!(other instanceof TaggerCore))
782
782
  return false;
783
- if (!equals(this.fm_1, other.fm_1))
783
+ if (!equals(this.gm_1, other.gm_1))
784
784
  return false;
785
785
  return true;
786
786
  };
787
787
  function Defaults() {
788
788
  Defaults_instance = this;
789
- this.lo_1 = Defaults_getInstance().xk_1;
790
- this.mo_1 = Defaults_getInstance().wk_1;
791
- this.no_1 = Defaults_getInstance().vk_1;
792
- this.oo_1 = Defaults_getInstance().uk_1;
789
+ this.mo_1 = Defaults_getInstance().yk_1;
790
+ this.no_1 = Defaults_getInstance().xk_1;
791
+ this.oo_1 = Defaults_getInstance().wk_1;
792
+ this.po_1 = Defaults_getInstance().vk_1;
793
793
  }
794
794
  var Defaults_instance;
795
795
  function Defaults_getInstance_0() {
@@ -798,9 +798,9 @@
798
798
  return Defaults_instance;
799
799
  }
800
800
  function Companion() {
801
- this.po_1 = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
801
+ this.qo_1 = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
802
802
  }
803
- protoOf(Companion).qo = function (regexPattern) {
803
+ protoOf(Companion).ro = function (regexPattern) {
804
804
  return contains(regexPattern, '?<major>') && contains(regexPattern, '?<minor>') && contains(regexPattern, '?<patch>') && contains(regexPattern, '?<none>');
805
805
  };
806
806
  var Companion_instance_0;
@@ -808,21 +808,21 @@
808
808
  return Companion_instance_0;
809
809
  }
810
810
  function VersionRegex(none, patch, minor, major, unified) {
811
- this.yn_1 = none;
812
- this.zn_1 = patch;
813
- this.ao_1 = minor;
814
- this.bo_1 = major;
815
- this.co_1 = unified;
811
+ this.zn_1 = none;
812
+ this.ao_1 = patch;
813
+ this.bo_1 = minor;
814
+ this.co_1 = major;
815
+ this.do_1 = unified;
816
816
  }
817
817
  protoOf(VersionRegex).toString = function () {
818
- return 'VersionRegex(none=' + this.yn_1.toString() + ', patch=' + this.zn_1.toString() + ', minor=' + this.ao_1.toString() + ', major=' + this.bo_1.toString() + ', unified=' + toString_0(this.co_1) + ')';
818
+ return 'VersionRegex(none=' + this.zn_1.toString() + ', patch=' + this.ao_1.toString() + ', minor=' + this.bo_1.toString() + ', major=' + this.co_1.toString() + ', unified=' + toString_0(this.do_1) + ')';
819
819
  };
820
820
  protoOf(VersionRegex).hashCode = function () {
821
- var result = hashCode(this.yn_1);
822
- result = imul(result, 31) + hashCode(this.zn_1) | 0;
821
+ var result = hashCode(this.zn_1);
823
822
  result = imul(result, 31) + hashCode(this.ao_1) | 0;
824
823
  result = imul(result, 31) + hashCode(this.bo_1) | 0;
825
- result = imul(result, 31) + (this.co_1 == null ? 0 : hashCode(this.co_1)) | 0;
824
+ result = imul(result, 31) + hashCode(this.co_1) | 0;
825
+ result = imul(result, 31) + (this.do_1 == null ? 0 : hashCode(this.do_1)) | 0;
826
826
  return result;
827
827
  };
828
828
  protoOf(VersionRegex).equals = function (other) {
@@ -830,8 +830,6 @@
830
830
  return true;
831
831
  if (!(other instanceof VersionRegex))
832
832
  return false;
833
- if (!equals(this.yn_1, other.yn_1))
834
- return false;
835
833
  if (!equals(this.zn_1, other.zn_1))
836
834
  return false;
837
835
  if (!equals(this.ao_1, other.ao_1))
@@ -840,25 +838,27 @@
840
838
  return false;
841
839
  if (!equals(this.co_1, other.co_1))
842
840
  return false;
841
+ if (!equals(this.do_1, other.do_1))
842
+ return false;
843
843
  return true;
844
844
  };
845
845
  function VersionResult$Failure$_get_message_$lambda_nuugae(it) {
846
- return it.fo_1;
846
+ return it.go_1;
847
847
  }
848
848
  function Success_0(version, snapshotReasons, warnings) {
849
849
  snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
850
850
  warnings = warnings === VOID ? emptyList() : warnings;
851
- this.ro_1 = version;
852
- this.so_1 = snapshotReasons;
853
- this.to_1 = warnings;
851
+ this.so_1 = version;
852
+ this.to_1 = snapshotReasons;
853
+ this.uo_1 = warnings;
854
854
  }
855
855
  protoOf(Success_0).toString = function () {
856
- return 'Success(version=' + this.ro_1 + ', snapshotReasons=' + toString(this.so_1) + ', warnings=' + toString(this.to_1) + ')';
856
+ return 'Success(version=' + this.so_1 + ', snapshotReasons=' + toString(this.to_1) + ', warnings=' + toString(this.uo_1) + ')';
857
857
  };
858
858
  protoOf(Success_0).hashCode = function () {
859
- var result = getStringHashCode(this.ro_1);
860
- result = imul(result, 31) + hashCode(this.so_1) | 0;
859
+ var result = getStringHashCode(this.so_1);
861
860
  result = imul(result, 31) + hashCode(this.to_1) | 0;
861
+ result = imul(result, 31) + hashCode(this.uo_1) | 0;
862
862
  return result;
863
863
  };
864
864
  protoOf(Success_0).equals = function (other) {
@@ -866,35 +866,35 @@
866
866
  return true;
867
867
  if (!(other instanceof Success_0))
868
868
  return false;
869
- if (!(this.ro_1 === other.ro_1))
870
- return false;
871
- if (!equals(this.so_1, other.so_1))
869
+ if (!(this.so_1 === other.so_1))
872
870
  return false;
873
871
  if (!equals(this.to_1, other.to_1))
874
872
  return false;
873
+ if (!equals(this.uo_1, other.uo_1))
874
+ return false;
875
875
  return true;
876
876
  };
877
877
  function Failure(reasons, customMessage) {
878
878
  customMessage = customMessage === VOID ? null : customMessage;
879
- this.uo_1 = reasons;
880
- this.vo_1 = customMessage;
879
+ this.vo_1 = reasons;
880
+ this.wo_1 = customMessage;
881
881
  }
882
882
  protoOf(Failure).ba = function () {
883
- var tmp0_elvis_lhs = this.vo_1;
883
+ var tmp0_elvis_lhs = this.wo_1;
884
884
  var tmp;
885
885
  if (tmp0_elvis_lhs == null) {
886
- tmp = 'Inappropriate configuration: ' + joinToString(this.uo_1, '\n', VOID, VOID, VOID, VOID, VersionResult$Failure$_get_message_$lambda_nuugae);
886
+ tmp = 'Inappropriate configuration: ' + joinToString(this.vo_1, '\n', VOID, VOID, VOID, VOID, VersionResult$Failure$_get_message_$lambda_nuugae);
887
887
  } else {
888
888
  tmp = tmp0_elvis_lhs;
889
889
  }
890
890
  return tmp;
891
891
  };
892
892
  protoOf(Failure).toString = function () {
893
- return 'Failure(reasons=' + toString(this.uo_1) + ', customMessage=' + this.vo_1 + ')';
893
+ return 'Failure(reasons=' + toString(this.vo_1) + ', customMessage=' + this.wo_1 + ')';
894
894
  };
895
895
  protoOf(Failure).hashCode = function () {
896
- var result = hashCode(this.uo_1);
897
- result = imul(result, 31) + (this.vo_1 == null ? 0 : getStringHashCode(this.vo_1)) | 0;
896
+ var result = hashCode(this.vo_1);
897
+ result = imul(result, 31) + (this.wo_1 == null ? 0 : getStringHashCode(this.wo_1)) | 0;
898
898
  return result;
899
899
  };
900
900
  protoOf(Failure).equals = function (other) {
@@ -902,9 +902,9 @@
902
902
  return true;
903
903
  if (!(other instanceof Failure))
904
904
  return false;
905
- if (!equals(this.uo_1, other.uo_1))
905
+ if (!equals(this.vo_1, other.vo_1))
906
906
  return false;
907
- if (!(this.vo_1 == other.vo_1))
907
+ if (!(this.wo_1 == other.wo_1))
908
908
  return false;
909
909
  return true;
910
910
  };