Skip to content
Snippets Groups Projects
Commit ef92d221 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-973: Replace regex match with a grep match

parent b6307008
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ variables: ...@@ -18,7 +18,7 @@ variables:
set_version: set_version:
stage: .pre stage: .pre
script: script:
- if [[ $(expr match $CI_COMMIT_TAG "^LOFAR-Release-[0-9]_[0-9]_[0-9]") != 0 ]]; then echo "joh"; TMP=${CI_COMMIT_TAG//LOFAR-Release-/}; VERSION=${TMP//_/.}; fi - if echo $CI_COMMIT_TAG | grep -Eq "^LOFAR-Release-[0-9]_[0-9]_[0-9]"; then echo "joh"; TMP=${CI_COMMIT_TAG//LOFAR-Release-/}; VERSION=${TMP//_/.}; fi
- echo "BUILDING $VERSION" - echo "BUILDING $VERSION"
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment