| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # Upload the generated output to Google storage. | 6 # Upload the generated output to Google storage. |
| 7 | 7 |
| 8 set -e | 8 set -e |
| 9 | 9 |
| 10 if [ ! -d "$1" ]; then | 10 if [ ! -d "$1" ]; then |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 if [ -f "${BINUTILS_TAR_BZ2}.sha1" ]; then | 54 if [ -f "${BINUTILS_TAR_BZ2}.sha1" ]; then |
| 55 rm "${BINUTILS_TAR_BZ2}.sha1" | 55 rm "${BINUTILS_TAR_BZ2}.sha1" |
| 56 fi | 56 fi |
| 57 (cd "$DIR"; tar jcf "$FULL_BINUTILS_TAR_BZ2" .) | 57 (cd "$DIR"; tar jcf "$FULL_BINUTILS_TAR_BZ2" .) |
| 58 | 58 |
| 59 upload_to_google_storage.py --bucket chromium-binutils "$BINUTILS_TAR_BZ2" | 59 upload_to_google_storage.py --bucket chromium-binutils "$BINUTILS_TAR_BZ2" |
| 60 git add -f "${BINUTILS_TAR_BZ2}.sha1" | 60 git add -f "${BINUTILS_TAR_BZ2}.sha1" |
| 61 done | 61 done |
| 62 | 62 |
| 63 echo "Please commit the new .sha1 to the Chromium repository" | 63 echo "Please commit the new .sha1 to the Chromium repository" |
| 64 echo "# git commit" |
| 64 echo "" | 65 echo "" |
| 65 echo "# git commit" | 66 echo "Make sure goma is updated with the new binutils *before* landing." |
| 67 echo " Notify {ukai,yyanagisawa,shinyak}@chromium.org with the .sha1 files" |
| 68 echo " and await confirmation." |
| OLD | NEW |