ci: add gitlab visual review to MRs

This commit is contained in:
Rainer Killinger
2021-06-17 16:31:40 +02:00
parent 93877c9fc7
commit 0aa26020be
3 changed files with 19 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env sh
# script returns semantical versioning string linke 2.0.0 (if $1 is v2.0.0) or $1
if echo -n $1 | grep -Eq 'v[0-9]+\.[0-9]+\.[0-9]+'; then
# script returns semantical versioning string like 2.0.0 (if $1 is v2.0.0) or $1
if echo -n $1 | grep -Eq 'v[0-9]+\.[0-9]+\.[0-9]+'; then
echo $(echo -n "$1" | cut -c 2-);
else
else
echo $1;
fi