Skip to content

Commit

Permalink
[Buildkite] Remove redundant if clause in post-checkout hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nightah committed Jan 27, 2020
1 parent e646323 commit 722cbb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .buildkite/hooks/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
set +u

if [[ ! $BUILDKITE_COMMAND =~ "buildkite-agent pipeline upload" ]] || \
[[ $BUILDKITE_COMMAND == ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" ]] || \
[[ ! $BUILDKITE_COMMAND == ".buildkite/steps/ghartifacts.sh" ]];
[[ $BUILDKITE_COMMAND == ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" ]];
then
echo "--- :buildkite: Setting up Build environment"
source bootstrap.sh
Expand Down

0 comments on commit 722cbb6

Please sign in to comment.