Merge branch 'feature/version-info' into 'develop'

Added new tab to display versions of BE/FE

Closes #397

See merge request pleroma/pleroma-fe!671
This commit is contained in:
Shpuld Shpludson 2019-03-21 15:25:59 +00:00
commit 57cd6f8018
6 changed files with 61 additions and 4 deletions

View file

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