diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d9699854..935625656 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,16 @@ debugTests: except: - tags + +pouet-it: + image: hatsoftwares/pouet-it-from-ci:latest + 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}") + - carton exec ./pouet-it-from-ci.pl + only: + - tags + ## PROTECTED VARIABLES TO SET IN GITLAB: # - GITLAB_API_TOKEN: token you create on Gitlab # - NC_REMOTE_DIR: like https://YOUR_NEXTCLOUD/remote.php/dav/files/YOUR_USER/mastalab (no trailing slash) @@ -76,12 +86,3 @@ putApkOnTags: - curl -s --request $METHOD --data-urlencode "description@/tmp/text" --header "${HEADER}" "${RELEASE_URL}" only: - tags - -pouet-it: - image: hatsoftwares/pouet-it-from-ci:latest - 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}") - - carton exec ./pouet-it-from-ci.pl - only: - - tags \ No newline at end of file