codeplay-common 1.4.2 → 1.4.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/files/finalrelease17 +2 -2
- package/package.json +1 -1
package/files/finalrelease17
CHANGED
|
@@ -261,11 +261,11 @@ const rl = readline.createInterface({
|
|
|
261
261
|
|
|
262
262
|
// Ask for new versionCode
|
|
263
263
|
rl.question('Enter new versionCode (press enter to keep current): ', (newVersionCode) => {
|
|
264
|
-
const finalVersionCode = versionCode; // Use existing if no input
|
|
264
|
+
const finalVersionCode = newVersionCode || versionCode; // Use existing if no input
|
|
265
265
|
|
|
266
266
|
// Ask for new versionName
|
|
267
267
|
rl.question('Enter new versionName (press enter to keep current): ', (newVersionName) => {
|
|
268
|
-
const finalVersionName = versionName; // Use existing if no input
|
|
268
|
+
const finalVersionName = newVersionName || versionName; // Use existing if no input
|
|
269
269
|
|
|
270
270
|
// Log the final version details
|
|
271
271
|
console.log(`📦 Final versionCode: ${finalVersionCode}`);
|