You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
321 B

let fs = require('fs');
var appjson = require('./app.json');
appjson.expo.ios.buildNumber++;
appjson.expo.ios.buildNumber = appjson.expo.ios.buildNumber + ''; // casting to string
7 years ago
console.log(appjson.expo.version, '(', appjson.expo.ios.buildNumber, ')');
fs.writeFileSync('./app.json', JSON.stringify(appjson, null, 2));