From 7ea1131090e9e5202fdbc3219cf23d7a0a095560 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Mon, 17 May 2021 17:28:52 -0600 Subject: [PATCH] Clear release cache for stable-perf (#17287) --- .buildkite/hooks/pre-command | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 3e0491d64f..9193748bba 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -36,4 +36,7 @@ export CARGO_TARGET_CACHE=$HOME/cargo-target-cache/"$CHANNEL"-"$BUILDKITE_LABEL" # `std: # "found possibly newer version of crate `std` which `xyz` depends on rm -rf target/bpfel-unknown-unknown + if [[ $BUILDKITE_LABEL = "stable-perf" ]]; then + rm -rf target/release + fi )