Skip to content

Commit a377698

Browse files
committed
Update CVE_Scan.gitlab-ci.yml
Signed-off-by: Vasily Maryutenkov <[email protected]>
1 parent dbb6758 commit a377698

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/CVE_Scan.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
# prepare TAG if it was triggered with CI_COMMIT_TAG
7777
if [ -n "${CI_COMMIT_TAG}" ]; then
7878
TAG=$(echo "${TAG}"| sed 's/^v//' | cut -d '.' -f -2)
79+
else
80+
# if not - replace / with -
81+
TAG=$(echo "${TAG}"| sed -e 's/\//-/g')
7982
fi
8083
module_tags=("${TAG}")
8184

0 commit comments

Comments
 (0)