go.uber.org/cadence@v1.2.9/.buildkite/scripts/fossa.sh (about)

     1  #!/bin/bash
     2  
     3  set -exo pipefail
     4  
     5  curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash -s -- -b ~/
     6  
     7  ~/fossa analyze
     8  
     9  # Capture the exit status
    10  EXIT_STATUS=$?
    11  
    12  echo "fossa script exits with status $EXIT_STATUS"
    13  exit $EXIT_STATUS