Default value for `release` attribute should be refined to git hash or package version
Closed this issue · 0 comments
niftylettuce commented
We can use https://github.com/pddivine/node-root.pddivine to get the root dir, and then use require('child_process').execSync('git rev-parse HEAD').toString().trim()
to get the git revision or lookup version
in package.json
file.