github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/acceptance/prepare.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  set -euxo pipefail
     4  
     5  # Ensure that no stale binary remains.
     6  rm -f cockroach-linux-2.6.32-gnu-amd64 pkg/acceptance/acceptance.test
     7  
     8  # We must make a release build here because the binary needs to work in both
     9  # the builder image and the postgres-test image, which have different libstc++
    10  # versions.
    11  build/builder.sh mkrelease linux-gnu