@getik-public/cli 1.3.1 → 1.3.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### v1.3.3
2
+ Allow version commit to contain extra details, for example version was incremented after a rebase so extra details will be added about rebased commits.
3
+
4
+
5
+ ### v1.3.2
6
+ Fix for windows. `file:\\` in front was getting altered in path normalize function. Changed to simple string concatenation.
7
+
8
+
1
9
  ### v1.3.1
2
10
  Fixed bug on release branch check
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getik-public/cli",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,7 +20,7 @@ async function applyPatchersForExternalNpmPackages() {
20
20
  if (filename.indexOf(filenameEndsWith) === filename.length - filenameEndsWith.length) {
21
21
  let pathToFile = path.join(process.cwd(), patchesFolderName, filename);
22
22
  if (process.platform === 'win32') {
23
- pathToFile = path.join('file:\\', pathToFile);
23
+ pathToFile = ('file:\\' + pathToFile);
24
24
  }
25
25
  const patcherImport = await import(pathToFile);
26
26
  const patcher = patcherImport.default;
@@ -536,7 +536,7 @@ function checkVersionInCommit(versions, callback) {
536
536
  checkFailed = true;
537
537
  } else {
538
538
  const expectedMessage = `APP VERSION UPDATE: versionName: ${versions.versionName}`;
539
- if (commitMessage === expectedMessage) {
539
+ if (commitMessage && commitMessage.indexOf(expectedMessage) === 0) {
540
540
  console.log('\x1b[32m PASSED! \x1b[0m');
541
541
  checkFailed = false;
542
542
  } else {