From 6b4b4b34667cc037043fdfb83d0df1ca4ad2cacd Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 23:18:56 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9c0cc09..a2429c5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -62,7 +62,7 @@ steps: from_secret: ZULIP_TOKEN commands: - if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi - - export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:0:-2} + - export ZULIP_MESSAGE=$(bash echo ${DRONE_COMMIT_MESSAGE:0:-2}) - export SHORT_COMMIT=$${DRONE_COMMIT:0:7} - echo $SHORT_COMMIT # - echo $${SHORT_COMMIT:0:7}