[CI] Toot after uploading the apks on Nextcloud
This commit is contained in:
parent
821cfa1aa9
commit
dc6a519780
|
@ -8,6 +8,7 @@ before_script:
|
||||||
stages:
|
stages:
|
||||||
- build-and-test
|
- build-and-test
|
||||||
- tag
|
- tag
|
||||||
|
- toot
|
||||||
|
|
||||||
.no-upload: &no-upload
|
.no-upload: &no-upload
|
||||||
stage: build-and-test
|
stage: build-and-test
|
||||||
|
@ -79,12 +80,15 @@ putApkOnTags:
|
||||||
|
|
||||||
pouet-it:
|
pouet-it:
|
||||||
image: hatsoftwares/pouet-it-from-ci:latest
|
image: hatsoftwares/pouet-it-from-ci:latest
|
||||||
stage: tag
|
stage: toot
|
||||||
|
dependencies:
|
||||||
|
- putApkOnTags
|
||||||
script:
|
script:
|
||||||
- cd /opt/pouet-it-from-ci
|
- cd /opt/pouet-it-from-ci
|
||||||
# Make the project name first letter uppercase
|
# 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 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}")
|
- 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}")
|
||||||
- carton exec ./pouet-it-from-ci.pl
|
- carton exec ./pouet-it-from-ci.pl
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
Loading…
Reference in New Issue