Commit 09fc0a71 authored by lukas leufen's avatar lukas leufen 👻
Browse files

use git describe with match flag

parent 0d598eb7
Pipeline #102209 passed with stages
in 12 minutes and 18 seconds
......@@ -11,9 +11,9 @@ version:
- leap
- zam347
- base
only:
- master
- tags
# only:
# - master
# - tags
script:
- chmod +x ./CI/update_badge.sh
- chmod +x ./CI/create_version_badge.sh
......
#!/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