Make an hashtag in toot-from-ci, with first letter uppercase
This commit is contained in:
parent
72389fbc1b
commit
e42242cdac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue