diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e32961181..ca813b6ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,9 @@ pouet-it: stage: tag script: - cd /opt/pouet-it-from-ci - - export MESSAGE=$(echo -e "I just released a new version of ${CI_PROJECT_NAME} !\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}") + # Make the project name first letter uppercase + - export project="$(tr '[:lower:]' '[:upper:]' <<< ${CI_PROJECT_NAME:0:1})${CI_PROJECT_NAME:1}" + - export MESSAGE=$(echo -e "I just released a new version of #${project}!\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}") - carton exec ./pouet-it-from-ci.pl only: - - tags \ No newline at end of file + - tags