#!/usr/bin/env bash set -o errexit set -o pipefail set -o nounset # Check for required commands: if ! command -v jq > /dev/null 2>&1; then echo "jq not found. Install jq" exit 1 fi if ! command -v curl > /dev/null 2>&1; then echo "curl not found. Install curl" exit 1 fi # Check for required environment variables: : "${silk_client_id:?}" : "${silk_client_secret:?}" : "${branch:?}" # Get Silk token: json_payload=$(cat <