Created
August 2, 2018 06:06
-
-
Save qodunpob/8bc8ba3402d2104e75ee43a9e1dbb1e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Shortened hash of the last commit in source code repository. | |
Used for forming of the unstable version tag */ | |
const shortSHA = spawnSync( | |
'git', | |
['rev-parse', '--short', 'HEAD'], | |
getSpawnOptions(rootDir, 'pipe') | |
).stdout.toString().trim(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment