You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
454 B

  1. #!/bin/bash
  2. # Copyright 2017 The Go Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style
  4. # license that can be found in the LICENSE file.
  5. if ! command -v gsutil 2>&1 > /dev/null; then
  6. echo "Install gsutil:"
  7. echo
  8. echo " https://cloud.google.com/storage/docs/gsutil_install#sdk-install"
  9. fi
  10. if [ ! -d build ]; then
  11. echo "Run make.bash first"
  12. fi
  13. set -e -o -x
  14. gsutil -m cp -a public-read build/* gs://golang/getgo