// const commitId = (() => require('child_process').execSync(`git rev-parse HEAD`).toString().trim())();
const fs = require(`fs`)
const package = require(`./package.json`)
const newVersion = package.version.replace(/(.*)(d+$)/, ($0, $1, $2) => $1+(+$2+1))
package.version = newVersion
fs.writeFileSync(`./package.json`, JSON.stringify(package, null, 2))