matrix-notifier: prefer tag in Drone message

This commit is contained in:
Bruno BELANYI 2021-06-15 18:38:26 +02:00
parent 11ed9e71d0
commit 261f3b27ec
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ rawurlencode() {
default_drone_message() {
local msg="Build ${DRONE_BUILD_STATUS}"
msg="$msg ${DRONE_SYSTEM_PROTO}://${DRONE_SYSTEM_HOST}/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
msg="$msg (${DRONE_BRANCH})"
msg="$msg (${DRONE_TAG:-$DRONE_BRANCH})"
printf '%s' "$msg"
}