From bc68f6e95392baa3303cdb47dc5d8e6b407f70db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Thu, 18 Jan 2024 14:07:33 +0100
Subject: [PATCH] CI/CD => Disable version replacement in app.ts that is not
 needed anymore

---
 AssignmentChecker/.gitlab-ci/01_functions.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AssignmentChecker/.gitlab-ci/01_functions.yml b/AssignmentChecker/.gitlab-ci/01_functions.yml
index 41e95d2..9a7581a 100644
--- a/AssignmentChecker/.gitlab-ci/01_functions.yml
+++ b/AssignmentChecker/.gitlab-ci/01_functions.yml
@@ -51,7 +51,7 @@
         # Decrypt env vars for production
         - apk add npm sed
         - cd $PROJECT_FOLDER
-        - sed -i -r "s/\{\{VERSION\}\}/${VERSION}/g" src/app.ts
+        # - sed -i -r "s/\{\{VERSION\}\}/${VERSION}/g" src/app.ts # Not needed anymore
         - |
             if [[ $CI_COMMIT_REF_PROTECTED == "true" || $IS_TEST == true ]]; then
                 echo "Decrypt production env vars"
-- 
GitLab