@corva/create-app 0.63.0-1 → 0.63.0-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.
|
@@ -77,7 +77,8 @@ const transformPatternsIntoFileNames = async (dirName, patterns, ignoredFiles =
|
|
|
77
77
|
*/
|
|
78
78
|
const resolveDataToZipUiApp = async (itemsToZip = [], { options, pkg, dirName, manifest }) => {
|
|
79
79
|
const version = await getIncreasedVersion(pkg.version, options);
|
|
80
|
-
const
|
|
80
|
+
const randomSuffix = generateRandomString(); // Random suffix is needed to not cause a conflict when we call 2 parallel commands at the same time.
|
|
81
|
+
const zipFileName = `${manifest.unix_name}-${version}-${randomSuffix}.zip`;
|
|
81
82
|
const itemsToSave = [];
|
|
82
83
|
const shouldUpdateVersion = version !== pkg.version;
|
|
83
84
|
|
|
@@ -93,12 +94,7 @@ const resolveDataToZipUiApp = async (itemsToZip = [], { options, pkg, dirName, m
|
|
|
93
94
|
});
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
|
|
97
|
-
* Note: This random suffix is needed to not cause a conflict when
|
|
98
|
-
* we call 2 parallel commands at the same time.
|
|
99
|
-
* Example: CI simulteniously runs the release command to both QA and Prod envs
|
|
100
|
-
*/
|
|
101
|
-
const tmpPackageForSourceName = `packageForSource_${generateRandomString()}.json`;
|
|
97
|
+
const tmpPackageForSourceName = `packageForSource_${randomSuffix}.json`;
|
|
102
98
|
|
|
103
99
|
itemsToSave.push({
|
|
104
100
|
name: tmpPackageForSourceName,
|