OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Wrapper scripts around cros_mark_as_stable that marks all packages as stable | 7 # Wrapper scripts around cros_mark_as_stable that marks all packages as stable |
8 # that have CROS_WORKON_COMMIT that is different than the current HEAD commit | 8 # that have CROS_WORKON_COMMIT that is different than the current HEAD commit |
9 # of the corresponding git repository. | 9 # of the corresponding git repository. |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 fi | 92 fi |
93 done | 93 done |
94 | 94 |
95 if [ -n "${PACKAGE_LIST}" ] ; then | 95 if [ -n "${PACKAGE_LIST}" ] ; then |
96 info "Candidate package list ${PACKAGE_LIST}" | 96 info "Candidate package list ${PACKAGE_LIST}" |
97 info "With commit id list ${COMMIT_ID_LIST}" | 97 info "With commit id list ${COMMIT_ID_LIST}" |
98 | 98 |
99 ./cros_mark_as_stable --board ${FLAGS_board} -p "${PACKAGE_LIST}" \ | 99 ./cros_mark_as_stable --board ${FLAGS_board} -p "${PACKAGE_LIST}" \ |
100 -i "${COMMIT_ID_LIST}" -t ${FLAGS_tracking_branch} commit || \ | 100 -i "${COMMIT_ID_LIST}" -t ${FLAGS_tracking_branch} commit || \ |
101 die "Could not mark all packages as stable" | 101 die "Could not mark all packages as stable" |
| 102 |
| 103 ./cros_workon start ${PACKAGE_LIST} |
102 else | 104 else |
103 info "No candidate packages to be marked" | 105 info "No candidate packages to be marked" |
104 fi | 106 fi |
OLD | NEW |