Merge branch 'hashtag-in-automatic-toot' into 'develop'

Make an hashtag in toot-from-ci, with first letter uppercase

See merge request tom79/mastalab!974
This commit is contained in:
Thomas 2018-12-09 11:12:36 +00:00
commit f572b69907
1 changed files with 4 additions and 2 deletions

View File

@ -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
- tags