Unverified Commit 76a9bd2d authored by Aral's ThinkPad's avatar Aral's ThinkPad
Browse files

Make install-locally work on Windows (build)

parent 02103c37
......@@ -60,7 +60,7 @@ const nodeVersion = process.version.slice(1)
const hugoVersion = (new Hugo()).version
const binaryVersion = moment(new Date()).format('YYYYMMDDHHmmss')
const packageVersion = package.version
const sourceVersion = (childProcess.execSync('git log -1 --oneline | cut -c1-7')).toString().trim()
const sourceVersion = (childProcess.execSync('git log -1 --oneline')).toString().trim().split(' ')[0]
const binaryName = 'site'
const windowsBinaryName = `${binaryName}.exe`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment