mirror of
https://gitlab.com/RemixDev/deemix-gui.git
synced 2024-12-29 11:06:13 +00:00
7 lines
244 B
JavaScript
7 lines
244 B
JavaScript
const fs = require('fs')
|
|
const generateVersion = require('./gen-version.js')
|
|
|
|
let package = JSON.parse(fs.readFileSync('package.json'))
|
|
package.version = generateVersion()
|
|
fs.writeFileSync('package.json', JSON.stringify(package, null, 2)+"\n")
|