OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright 2011 the V8 project authors. All rights reserved. | 2 # Copyright 2011 the V8 project authors. All rights reserved. |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following | 10 # copyright notice, this list of conditions and the following |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 fi | 263 fi |
264 | 264 |
265 if [ $STEP -le 7 ] ; then | 265 if [ $STEP -le 7 ] ; then |
266 echo ">>> Step 7: Commit to local branch." | 266 echo ">>> Step 7: Commit to local branch." |
267 restore_if_unset "NEWMAJOR" | 267 restore_if_unset "NEWMAJOR" |
268 restore_if_unset "NEWMINOR" | 268 restore_if_unset "NEWMINOR" |
269 restore_if_unset "NEWBUILD" | 269 restore_if_unset "NEWBUILD" |
270 PREPARE_COMMIT_MSG="Prepare push to trunk. \ | 270 PREPARE_COMMIT_MSG="Prepare push to trunk. \ |
271 Now working on version $NEWMAJOR.$NEWMINOR.$NEWBUILD." | 271 Now working on version $NEWMAJOR.$NEWMINOR.$NEWBUILD." |
272 persist "PREPARE_COMMIT_MSG" | 272 persist "PREPARE_COMMIT_MSG" |
273 git commit -a -m $PREPARE_COMMIT_MSG \ | 273 git commit -a -m "$PREPARE_COMMIT_MSG" \ |
274 || die "'git commit -a' failed." | 274 || die "'git commit -a' failed." |
275 fi | 275 fi |
276 | 276 |
277 if [ $STEP -le 8 ] ; then | 277 if [ $STEP -le 8 ] ; then |
278 echo ">>> Step 8: Upload for code review." | 278 echo ">>> Step 8: Upload for code review." |
279 echo -n "Please enter the email address of a V8 reviewer for your patch: " | 279 echo -n "Please enter the email address of a V8 reviewer for your patch: " |
280 read REVIEWER | 280 read REVIEWER |
281 git cl upload -r $REVIEWER --send-mail \ | 281 git cl upload -r $REVIEWER --send-mail \ |
282 || die "'git cl upload' failed, please try again." | 282 || die "'git cl upload' failed, please try again." |
283 fi | 283 fi |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 restore_if_unset "MINOR" | 447 restore_if_unset "MINOR" |
448 restore_if_unset "BUILD" | 448 restore_if_unset "BUILD" |
449 echo "Congratulations, you have successfully created the trunk revision \ | 449 echo "Congratulations, you have successfully created the trunk revision \ |
450 $MAJOR.$MINOR.$BUILD. Please don't forget to roll this new version into \ | 450 $MAJOR.$MINOR.$BUILD. Please don't forget to roll this new version into \ |
451 Chromium, and to update the v8rel spreadsheet:" | 451 Chromium, and to update the v8rel spreadsheet:" |
452 TRUNK_REVISION=$(cat "$TRUNK_REVISION_FILE") | 452 TRUNK_REVISION=$(cat "$TRUNK_REVISION_FILE") |
453 echo "$MAJOR.$MINOR.$BUILD\ttrunk\t$TRUNK_REVISION" | 453 echo "$MAJOR.$MINOR.$BUILD\ttrunk\t$TRUNK_REVISION" |
454 # Clean up all temporary files. | 454 # Clean up all temporary files. |
455 rm -f "$PERSISTFILE_BASENAME"* | 455 rm -f "$PERSISTFILE_BASENAME"* |
456 fi | 456 fi |
OLD | NEW |