Source code
Revision control
Copy as Markdown
Other Tools
/* eslint-disable-next-line n/no-restricted-require */
export const version = require('child_process')
.execSync('git describe --always --abbrev=0 --dirty')
.toString()
.trim();