mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
5a38585b71
Channel backup download file bug fix #536 Added macaroon authentication for Loop (#543) Adding Label for Loop In & Loop Out #538 Fee Report & Routing Enhancements (#555) Payments report #559 Transactions Report #357 Material table sorting bug fix #556 CL & ECL ng Routing #551 & Hocon Read Fix #560 (#561) CLT & ECL Reports (#562) UI Bug fixes for tables group sort, pagination, dialog and spinner close Increased request body size #544 (#564) App lock after 5 attempts #542 & DatePicker default adapter #532 (#566) Upgade Angular 11 (#568) Loop amount validation #569 Loop https document updates
13 lines
502 B
JavaScript
13 lines
502 B
JavaScript
const path = require('path');
|
|
const fs = require('fs');
|
|
const appVersion = require('./package.json').version;
|
|
const versionFilePath = path.join(__dirname + '/src/environments/version.ts');
|
|
const versionStr = `export const VERSION = '${appVersion}';`;
|
|
fs.writeFile(versionFilePath, versionStr, { flat: 'w' }, function (err) {
|
|
if (err) {
|
|
return console.error(err);
|
|
}
|
|
console.log(`Updating application version ${appVersion}`);
|
|
console.log(`${'Writing version module to '}${versionFilePath}\n`);
|
|
});
|