update regex for commit hash

This commit is contained in:
taehoon 2019-07-03 12:02:56 -04:00
parent 60b413d02c
commit 66842efd81
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
export const extractCommit = versionString => {
const regex = /-g(\w+)$/i
const regex = /-g(\w+)/i
const matches = versionString.match(regex)
return matches ? matches[1] : ''
}