@clickview/ship-it 0.0.35-dev.13 → 0.0.35-dev.14
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.
|
@@ -62,7 +62,7 @@ var DEV_VERSION_REGEX = /-dev\.\d+$/;
|
|
|
62
62
|
var RC_VERSION_REGEX = /-rc\.\d+$/;
|
|
63
63
|
var BumpPackagesTask = /** @class */ (function () {
|
|
64
64
|
function BumpPackagesTask(service) {
|
|
65
|
-
this.isReleaseBranch =
|
|
65
|
+
this.isReleaseBranch = false;
|
|
66
66
|
this.isHotfixBranch = false;
|
|
67
67
|
this.isInPreRelease = false;
|
|
68
68
|
this.service = service;
|
|
@@ -74,7 +74,7 @@ var BumpPackagesTask = /** @class */ (function () {
|
|
|
74
74
|
switch (_b.label) {
|
|
75
75
|
case 0:
|
|
76
76
|
utils_1.Logger.logTask('Bumping clickview npm package versions');
|
|
77
|
-
this.isReleaseBranch = RELEASE_BRANCH_REGEX.test(options.branchName)
|
|
77
|
+
this.isReleaseBranch = RELEASE_BRANCH_REGEX.test(options.branchName);
|
|
78
78
|
this.isHotfixBranch = HOTFIX_BRANCH_REGEX.test(options.branchName);
|
|
79
79
|
_a = this;
|
|
80
80
|
return [4 /*yield*/, this.getIsInPrerelease(options.branchName)];
|
|
@@ -143,6 +143,7 @@ var BumpPackagesTask = /** @class */ (function () {
|
|
|
143
143
|
var content = '';
|
|
144
144
|
try {
|
|
145
145
|
content = (0, fs_1.readFileSync)(filePath, { encoding: 'utf8' });
|
|
146
|
+
utils_1.Logger.logInfo('file', filePath, content);
|
|
146
147
|
}
|
|
147
148
|
catch (_a) {
|
|
148
149
|
/**
|