Commit bd273da8 authored by lukas leufen's avatar lukas leufen 👻
Browse files

Merge branch 'lukas_issue382_feat_fix-version-badge' into 'develop'

use git describe with match flag

See merge request !433
parents 9796abcc 20b305ca
Pipeline #102216 passed with stages
in 13 minutes and 50 seconds
#!/bin/bash
VERSION="$(git describe master)"
VERSION="$(git describe --match v[0-9]*.[0-9]*.[0-9]* --abbrev=0)"
COLOR="blue"
BADGE_NAME="version"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment