Skip to content
Snippets Groups Projects
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
Branches
Tags
Loading
Pipeline #102216 passed
#!/bin/bash
VERSION="$(git describe master)"
VERSION="$(git describe --match v[0-9]*.[0-9]*.[0-9]* --abbrev=0)"
COLOR="blue"
BADGE_NAME="version"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment