"Fossies" - the Fresh Open Source Software Archive 
Member "cli-1.1260.0/release-scripts/handle-failed-release.sh" (4 Dec 2023, 326 Bytes) of package /linux/misc/snyk-cli-1.1260.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #!/usr/bin/env bash
2
3 echo "Something failed during releasing, stopping and sending alert"
4
5 curl 'https://events.pagerduty.com/v2/enqueue' \
6 --data-raw "{\"payload\":{\"summary\":\"CLI release failed\",\"severity\":\"critical\",\"source\":\"CircleCI\"},
7 \"routing_key\":\"${PD_ROUTING_KEY}\",\"event_action\":\"trigger\"}"