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

SW-971: Fix set_version script

parent 2a8e08a0
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 [[ $CI_COMMIT_TAG =~ "^LOFAR-Release-[0-9]_[0-9]_[0-9]" ]]; then TMP=${CI_COMMIT_TAG//LOFAR-Release-/}; VERSION=${TMP//_/.}; fi - 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
- echo "BUILDING $VERSION" - echo "BUILDING $VERSION"
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment