Commit 87cc6438 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix logic error

parent 07d09527
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/get-float-ref-branch-name.

# run again to actually set the branch name only if the naming pattern is there
# TODO: this is a bit awkward, but needed as a quick fix for now
if [[ "$exit_code" != "0" ]]; then
if [[ "$exit_code" == "0" ]]; then
  if [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[CI\] ]]; then
    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    # a bit awkward: write to file + standard out first so that the error message is visible in case of failure. Then fill the variable from the file