diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc088333808b8ce0412744db012dbfe80f181f11..f02218ba53f2da0af3d92628513e888c687ad1b9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ before_script:
   - python3 -V  # Print out python version for debugging
   - pip3 install build
   - python3 -m venv || apt-get -y install python3-venv
-  - if [[ "$CI_COMMIT_BRANCH" != "master" ]]; then sed -i "s%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@master%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@${CI_COMMIT_BRNACH}%g" pyproject.toml; fi
+  - if [[ "$CI_COMMIT_BRANCH" != "master" ]]; then sed -i "s%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@master%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@${CI_COMMIT_BRANCH}%g" pyproject.toml; fi
 
 
 stages: