File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -408,15 +408,16 @@ steps:
408408 - rclone delete nightly:/home/devj/public_html/nightlies/ --include "Joomla_$MINORVERSION.*"
409409 - rclone delete nightly:/home/devj/public_html/cache/com_content/
410410 - rclone copy ./transfer/ nightly:/home/devj/public_html/nightlies/
411- - curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla 5.2 ](https://developer.joomla.org/nightly-builds.html) successfully built."}' $MATTERMOST_NIGHTLY_HOOK
411+ - curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla $MINORVERSION ](https://developer.joomla.org/nightly-builds.html) successfully built."}' $MATTERMOST_NIGHTLY_HOOK
412412
413413 - name : buildfailure
414414 image : joomlaprojects/docker-images:packager
415415 environment :
416416 MATTERMOST_NIGHTLY_HOOK :
417417 from_secret : mattermost_nightly_hook
418418 commands :
419- - curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla 5.2](https://developer.joomla.org/nightly-builds.html) FAILED to built."}' $MATTERMOST_NIGHTLY_HOOK
419+ - export MINORVERSION=${DRONE_BRANCH%-*}
420+ - curl -i -X POST -H 'Content-Type:application/json' -d '{"text":"Nightly Build for [Joomla $MINORVERSION](https://developer.joomla.org/nightly-builds.html) FAILED to built."}' $MATTERMOST_NIGHTLY_HOOK
420421 when :
421422 status :
422423 - failure
@@ -430,6 +431,6 @@ trigger:
430431
431432---
432433kind : signature
433- hmac : 903759c59028cc757ba3faef044e3b9122d00f99ea0367caadceb710cb88030f
434+ hmac : 4651bf03bdeacfec868856dca94418b8999543e6bc05c3797e927734c878ea89
434435
435436...
You can’t perform that action at this time.
0 commit comments