Sha256: 988d3e6f5f4136f6d4815c3db6d63fd59c3f4be6d7df3520997b5f48b2c0383f
Contents?: true
Size: 510 Bytes
Versions: 11
Compression:
Stored size: 510 Bytes
Contents
#!/bin/bash output=$(curl -v -X POST https://api.github.com/repos/pact-foundation/pact_broker-client/dispatches \ -H 'Accept: application/vnd.github.everest-preview+json' \ -H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" \ -d '{"event_type": "release-patch"}' 2>&1) echo "$output" | sed "s/${GITHUB_ACCESS_TOKEN}/****/g" if ! echo "${output}" | grep "HTTP\/1.1 204" > /dev/null; then echo "$output" | sed "s/${GITHUB_ACCESS_TOKEN}/****/g" echo "Failed to do the thing" exit 1 fi
Version data entries
11 entries across 11 versions & 1 rubygems