[Buildkite] Remove redundant if clause in post-checkout hook

This commit is contained in:
Amir Zarrinkafsh 2020-01-28 09:48:45 +11:00
parent e646323555
commit 722cbb63a0

View File

@ -3,8 +3,7 @@
set +u set +u
if [[ ! $BUILDKITE_COMMAND =~ "buildkite-agent pipeline upload" ]] || \ if [[ ! $BUILDKITE_COMMAND =~ "buildkite-agent pipeline upload" ]] || \
[[ $BUILDKITE_COMMAND == ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" ]] || \ [[ $BUILDKITE_COMMAND == ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" ]];
[[ ! $BUILDKITE_COMMAND == ".buildkite/steps/ghartifacts.sh" ]];
then then
echo "--- :buildkite: Setting up Build environment" echo "--- :buildkite: Setting up Build environment"
source bootstrap.sh source bootstrap.sh