mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-02-13 16:13:22 +01:00
6 lines
158 B
JavaScript
6 lines
158 B
JavaScript
|
|
export const extractCommit = versionString => {
|
|
const regex = /-g(\w+)/i
|
|
const matches = versionString.match(regex)
|
|
return matches ? matches[1] : ''
|
|
}
|