1
0
Fork 0
mirror of https://github.com/BlueWallet/BlueWallet.git synced 2025-03-16 12:13:07 +01:00
BlueWallet/up-build-number.js
Overtorment 0b9d73e2d1 TST
2018-05-20 11:05:50 +01:00

6 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));