Skip to content

Commit 13e0d8a

Browse files
committed
chore: notify on successful staging merge that caused no rem-rel
1 parent 4d4f505 commit 13e0d8a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

scripts/approve-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# then it would be null
66
if [ $1 == "null" ]; then
77
echo Semantic-Release did not create a new version, not pushing a new approved image
8+
./scripts/slack-notify-success-no-release.sh
89
else
910
IMAGE_NAME_CANDIDATE=snyk/kubernetes-monitor:staging-candidate
1011
IMAGE_NAME_APPROVED=snyk/kubernetes-monitor:${1}-approved
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /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_fancy: Successful `staging` merge, but no semantic-release occurring :egg_fancy:"}]}' $SLACK_WEBHOOK

0 commit comments

Comments
 (0)