@clickview/ship-it 0.0.35-dev.0 → 0.0.35-dev.1
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.
|
@@ -75,25 +75,36 @@ var BumpPackagesTask = /** @class */ (function () {
|
|
|
75
75
|
case 0:
|
|
76
76
|
utils_1.Logger.logTask('Bumping clickview npm package versions');
|
|
77
77
|
this.isReleaseBranch = RELEASE_BRANCH_REGEX.test(options.branchName);
|
|
78
|
+
utils_1.Logger.logInfo(1);
|
|
78
79
|
this.isHotfixBranch = HOTFIX_BRANCH_REGEX.test(options.branchName);
|
|
80
|
+
utils_1.Logger.logInfo(2);
|
|
79
81
|
return [4 /*yield*/, this.service.getBranch(utils_1.ProjectIds.MONOREPO_PROJECT_ID, options.branchName)];
|
|
80
82
|
case 1:
|
|
81
83
|
branch = _a.sent();
|
|
84
|
+
utils_1.Logger.logInfo(3);
|
|
82
85
|
if (!branch) {
|
|
86
|
+
utils_1.Logger.logInfo(4);
|
|
83
87
|
utils_1.Logger.logError("Branch with name ".concat(options.branchName, " was not be found."));
|
|
84
88
|
return [2 /*return*/, false];
|
|
85
89
|
}
|
|
90
|
+
utils_1.Logger.logInfo(5);
|
|
86
91
|
isValid = this.validateOptions(options);
|
|
92
|
+
utils_1.Logger.logInfo(6);
|
|
87
93
|
if (!isValid)
|
|
88
94
|
return [2 /*return*/, false];
|
|
95
|
+
utils_1.Logger.logInfo(7);
|
|
89
96
|
return [4 /*yield*/, this.getLernaCommand(options)];
|
|
90
97
|
case 2:
|
|
91
98
|
lernaVersionCmd = _a.sent();
|
|
99
|
+
utils_1.Logger.logInfo(8);
|
|
92
100
|
if (!lernaVersionCmd) {
|
|
101
|
+
utils_1.Logger.logInfo(9);
|
|
93
102
|
utils_1.Logger.logError('Something went wrong while trying to detect which versioning script to run with Lerna.');
|
|
94
103
|
return [2 /*return*/, false];
|
|
95
104
|
}
|
|
105
|
+
utils_1.Logger.logInfo(10);
|
|
96
106
|
(0, child_process_1.execSync)(lernaVersionCmd);
|
|
107
|
+
utils_1.Logger.logInfo(11);
|
|
97
108
|
utils_1.Logger.logSuccess('Successfully executed Lerna versioning command.');
|
|
98
109
|
return [2 /*return*/, true];
|
|
99
110
|
}
|