version.service.js (158B)
- export const extractCommit = versionString => {
- const regex = /-g(\w+)/i
- const matches = versionString.match(regex)
- return matches ? matches[1] : ''
- }
git clone https://hacktivis.me/git/pleroma-fe.git
version.service.js (158B)
- export const extractCommit = versionString => {
- const regex = /-g(\w+)/i
- const matches = versionString.match(regex)
- return matches ? matches[1] : ''
- }