|
@ -2,4 +2,5 @@ let fs = require('fs'); |
|
|
var appjson = require('./app.json'); |
|
|
var appjson = require('./app.json'); |
|
|
appjson.expo.ios.buildNumber++; |
|
|
appjson.expo.ios.buildNumber++; |
|
|
appjson.expo.ios.buildNumber = appjson.expo.ios.buildNumber + ''; // casting to string
|
|
|
appjson.expo.ios.buildNumber = appjson.expo.ios.buildNumber + ''; // casting to string
|
|
|
|
|
|
console.log(appjson.expo.version, '(', appjson.expo.ios.buildNumber, ')'); |
|
|
fs.writeFileSync('./app.json', JSON.stringify(appjson, null, 2)); |
|
|
fs.writeFileSync('./app.json', JSON.stringify(appjson, null, 2)); |
|
|