diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3972524..1beb020 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ build: script: - cd hv2-ui - if [ "$CI_COMMIT_TAG" != "" ]; then - sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"'/' ./src/app/navigation/navigation.component.html; + sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"':'"$CI_COMMIT_SHORT_SHA"'/' ./src/app/navigation/navigation.component.html; fi - npm install - ./node_modules/.bin/ng build --prod