Skip to content

Commit 9ad34f2

Browse files
heelc29HLeithner
andauthored
[5.4] fix missing joomla version in nightly notification (#47274)
* [5.4] fix missing joomla version in nightly notification * Update HMAC value in .drone.yml --------- Co-authored-by: Harald Leithner <joomla@itronic.at>
1 parent cfe8cf8 commit 9ad34f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ steps:
8080
- rclone delete nightly:/home/devj/public_html/nightlies/ --include "Joomla_$MINORVERSION.*"
8181
- rclone delete nightly:/home/devj/public_html/cache/com_content/
8282
- rclone copy ./transfer/ nightly:/home/devj/public_html/nightlies/
83-
- 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
83+
- 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
8484

8585
- name: buildfailure
8686
image: joomlaprojects/docker-images:packager
@@ -89,7 +89,7 @@ steps:
8989
from_secret: mattermost_nightly_hook
9090
commands:
9191
- export MINORVERSION=${DRONE_BRANCH%-*}
92-
- 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
92+
- 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
9393
when:
9494
status:
9595
- failure
@@ -103,6 +103,6 @@ trigger:
103103

104104
---
105105
kind: signature
106-
hmac: 8c9f8d28fda74e2a6fc508602dd07e9af7d9f4a5a13af769c6a53e6bd6e91389
106+
hmac: 70fdb9fa9d2c11c29dc6186a0d05b3f57d4279ea332530e481f7c81e41ac8f1e
107107

108108
...

0 commit comments

Comments
 (0)