diff --git a/bin/update-env b/bin/update-env index 6c4aaf764a014d98bce97b8513a1a002071cf4bf..fd01e7ef0e4fd247671f42b2dc8ab6519113c208 100755 --- a/bin/update-env +++ b/bin/update-env @@ -18,7 +18,7 @@ if [[ "$CI_COMMIT_REF_NAME" = "" ]]; then else PROJECT_BRANCH=$CI_COMMIT_REF_NAME fi -PROJECT_BRANCH_SANITIZED=$(echo "$PROJECT_BRANCH" | sed -r 's/[\/_]+/-/g') +PROJECT_BRANCH_SANITIZED=$(echo "$PROJECT_BRANCH" | tr [:upper:] [:lower:] | sed -r 's/[\/_]+/-/g') echo "PROJECT_NAME=${PROJECT_NAME}" >>.env echo "PROJECT_BRANCH=${PROJECT_BRANCH}" >>.env