Skip to content

Commit 61863e8

Browse files
committed
chore: surround branch of origin with backticks
it's prettier in slack
1 parent 21183e6 commit 61863e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/slack-notify-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#! /bin/bash
2-
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "warning", "fallback": "Build Notification: $TRAVIS_BUILD_WEB_URL", "title": "Kubernetes-Monitor Publish Notification", "text": ":egg: A new version is about to be published! :egg:\nhttps://github.com/'$TRAVIS_PULL_REQUEST_SLUG'/pull/'$TRAVIS_PULL_REQUEST'\nbranch of origin is '$TRAVIS_PULL_REQUEST_BRANCH'"}]}' $SLACK_WEBHOOK
2+
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "warning", "fallback": "Build Notification: $TRAVIS_BUILD_WEB_URL", "title": "Kubernetes-Monitor Publish Notification", "text": ":egg: A new version is about to be published! :egg:\nhttps://github.com/'$TRAVIS_PULL_REQUEST_SLUG'/pull/'$TRAVIS_PULL_REQUEST'\nbranch of origin is `'$TRAVIS_PULL_REQUEST_BRANCH'`"}]}' $SLACK_WEBHOOK

0 commit comments

Comments
 (0)