forked from AkkomaGang/akkoma-fe
update regex for commit hash
This commit is contained in:
parent
60b413d02c
commit
66842efd81
1 changed files with 1 additions and 1 deletions
|
@ -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] : ''
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue