@getik-public/cli 1.3.0 → 1.3.2
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 +4 -0
- package/package.json +1 -1
- package/src/mobile-build.js +3 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/mobile-build.js
CHANGED
|
@@ -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 =
|
|
23
|
+
pathToFile = ('file:\\' + pathToFile);
|
|
24
24
|
}
|
|
25
25
|
const patcherImport = await import(pathToFile);
|
|
26
26
|
const patcher = patcherImport.default;
|
|
@@ -499,7 +499,8 @@ function checkEnvironmentToBranchScheme(versions, options, callback) {
|
|
|
499
499
|
callback(true);
|
|
500
500
|
}
|
|
501
501
|
} else if (options.environment === 'qa') {
|
|
502
|
-
const
|
|
502
|
+
const splitVersionName = versions.versionName.split('.');
|
|
503
|
+
const requiredBranchName = `release/${splitVersionName[0]}.${splitVersionName[1]}.x`;
|
|
503
504
|
if (branchName === requiredBranchName) {
|
|
504
505
|
console.log('\x1b[32m PASSED! \x1b[0m');
|
|
505
506
|
callback(false);
|