diff --git a/dev/bots/deploy_gallery.sh b/dev/bots/deploy_gallery.sh deleted file mode 100755 index 69be7f29e0..0000000000 --- a/dev/bots/deploy_gallery.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2014 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -set -e - -function script_location() { - local script_location="${BASH_SOURCE[0]}" - # Resolve symlinks - while [[ -h "$script_location" ]]; do - DIR="$(cd -P "$(dirname "$script_location")" >/dev/null && pwd)" - script_location="$(readlink "$script_location")" - [[ "$script_location" != /* ]] && script_location="$DIR/$script_location" - done - echo "$(cd -P "$(dirname "$script_location")" >/dev/null && pwd)" -} - -# So that users can run this script locally from any directory and it will work as -# expected. -SCRIPT_LOCATION="$(script_location)" -FLUTTER_ROOT="$(dirname "$(dirname "$SCRIPT_LOCATION")")" -export PATH="$FLUTTER_ROOT/bin:$FLUTTER_ROOT/bin/cache/dart-sdk/bin:$PATH" - -set -x - -cd "$FLUTTER_ROOT" - -version="$(