Merge branch 'master' into gh-pages
This commit is contained in:
commit
4769c83958
|
@ -1,11 +1,10 @@
|
||||||
const fs = require("fs")
|
const fs = require("fs")
|
||||||
const readlineSync = require('readline-sync')
|
|
||||||
let ver = "Usamin (18.9.2)"
|
let ver = "Usamin (18.9.2)"
|
||||||
const execSync = require('child_process').execSync;
|
const execSync = require('child_process').execSync;
|
||||||
let gitHash = execSync("git rev-parse HEAD").toString().trim()
|
let gitHash = execSync("git rev-parse HEAD").toString().trim()
|
||||||
fs.writeFileSync("../../git", gitHash)
|
fs.writeFileSync("../../git", gitHash)
|
||||||
if (process.argv.indexOf("--automatic") === -1) {
|
if (process.argv.indexOf("--automatic") === -1) {
|
||||||
let input = readlineSync.question('version string [empty: ' + ver + ' (default)]? ');
|
let input = require('readline-sync').question('version string [empty: ' + ver + ' (default)]? ');
|
||||||
if (input) {
|
if (input) {
|
||||||
ver = input
|
ver = input
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user