Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
stom79 2018-12-15 09:16:52 +01:00
commit 68beac1bae
1 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,7 @@ before_script:
stages:
- build-and-test
- tag
- toot
.no-upload: &no-upload
stage: build-and-test
@ -79,12 +80,15 @@ putApkOnTags:
pouet-it:
image: hatsoftwares/pouet-it-from-ci:latest
stage: tag
stage: toot
dependencies:
- putApkOnTags
script:
- cd /opt/pouet-it-from-ci
# Make the project name first letter uppercase
- export NC_DOWNLOAD_URL="${NC_SHARE_URL}/?path=%2F${CI_COMMIT_TAG}%2F"
- 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
- export MESSAGE=$(echo -e "I just released a new version of "'#'"${project}!""\n${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}\nYou can download the apks on ${NC_DOWNLOAD_URL}")
- if [[ ! -z $HOST ]]; then carton exec ./pouet-it-from-ci.pl; fi
only:
- tags