BlueWallet/up-build-number.js
Overtorment 0b9d73e2d1 TST
2018-05-20 11:05:50 +01:00

7 lines
321 B
JavaScript

let fs = require('fs');
var appjson = require('./app.json');
appjson.expo.ios.buildNumber++;
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));