logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

version.service.js (158B)


  1. export const extractCommit = versionString => {
  2. const regex = /-g(\w+)/i
  3. const matches = versionString.match(regex)
  4. return matches ? matches[1] : ''
  5. }