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.
@@ -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}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeplay-common",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Common build scripts and files",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/sync-files.js",