Skip to content

Commit

Permalink
release: fix release qualification script
Browse files Browse the repository at this point in the history
Previously, the script tried to copy files to the `bin` directory, but
there was no guaranty that the directory existed.

This PR fixes the assumption by creating the `bin` directory.

Epic: none
Release note: None
  • Loading branch information
rail committed Nov 15, 2023
1 parent 608e80c commit 3433f86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ chmod +x cockroach
run_bazel <<'EOF'
bazel build --config ci --config crosslinux //pkg/cmd/workload //pkg/cmd/roachtest //pkg/cmd/roachprod
BAZEL_BIN=$(bazel info bazel-bin --config ci --config crosslinux)
mkdir -p bin
cp $BAZEL_BIN/pkg/cmd/roachprod/roachprod_/roachprod bin
cp $BAZEL_BIN/pkg/cmd/roachtest/roachtest_/roachtest bin
cp $BAZEL_BIN/pkg/cmd/workload/workload_/workload bin
Expand Down

0 comments on commit 3433f86

Please sign in to comment.