From 00d1cb0333dcefbdf0b298602f8925fea057b559 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 17 May 2021 23:38:24 +0000 Subject: [PATCH] Clear release cache for stable-perf (#17287) (#17296) (cherry picked from commit 7ea1131090e9e5202fdbc3219cf23d7a0a095560) Co-authored-by: Tyera Eulberg --- .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 )