Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: tools/push-to-trunk.sh

Issue 9835047: push-to-trunk.sh: Don't send Chromium CLs to the commit queue immediately (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2012 the V8 project authors. All rights reserved. 2 # Copyright 2012 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 echo ">>> Step $CURRENT_STEP: Create and upload CL." 352 echo ">>> Step $CURRENT_STEP: Create and upload CL."
353 # Patch DEPS file. 353 # Patch DEPS file.
354 sed -r -e "/\"v8_revision\": /s/\"[0-9]+\"/\"$TRUNK_REVISION\"/" \ 354 sed -r -e "/\"v8_revision\": /s/\"[0-9]+\"/\"$TRUNK_REVISION\"/" \
355 -i DEPS 355 -i DEPS
356 restore_version_if_unset 356 restore_version_if_unset
357 echo -n "Please enter the email address of a reviewer for the roll CL: " 357 echo -n "Please enter the email address of a reviewer for the roll CL: "
358 read REVIEWER 358 read REVIEWER
359 git commit -am "Update V8 to version $MAJOR.$MINOR.$BUILD. 359 git commit -am "Update V8 to version $MAJOR.$MINOR.$BUILD.
360 360
361 TBR=$REVIEWER" || die "'git commit' failed." 361 TBR=$REVIEWER" || die "'git commit' failed."
362 git cl upload --send-mail --use-commit-queue \ 362 git cl upload --send-mail \
363 || die "'git cl upload' failed, please try again." 363 || die "'git cl upload' failed, please try again."
364 echo "CL uploaded and sent to commit queue." 364 echo "CL uploaded."
365 fi 365 fi
366 366
367 let CURRENT_STEP+=1 367 let CURRENT_STEP+=1
368 if [ $START_STEP -le $CURRENT_STEP ] ; then 368 if [ $START_STEP -le $CURRENT_STEP ] ; then
369 echo ">>> Step $CURRENT_STEP: Returning to V8 checkout." 369 echo ">>> Step $CURRENT_STEP: Returning to V8 checkout."
370 restore_if_unset "V8_PATH" 370 restore_if_unset "V8_PATH"
371 cd "$V8_PATH" 371 cd "$V8_PATH"
372 fi 372 fi
373 fi # if [ -n "$CHROME_PATH" ] 373 fi # if [ -n "$CHROME_PATH" ]
374 374
375 let CURRENT_STEP+=1 375 let CURRENT_STEP+=1
376 if [ $START_STEP -le $CURRENT_STEP ] ; then 376 if [ $START_STEP -le $CURRENT_STEP ] ; then
377 echo ">>> Step $CURRENT_STEP: Done!" 377 echo ">>> Step $CURRENT_STEP: Done!"
378 restore_version_if_unset 378 restore_version_if_unset
379 restore_if_unset "TRUNK_REVISION" 379 restore_if_unset "TRUNK_REVISION"
380 if [ -n "$CHROME_PATH" ] ; then 380 if [ -n "$CHROME_PATH" ] ; then
381 echo "Congratulations, you have successfully created the trunk revision \ 381 echo "Congratulations, you have successfully created the trunk revision \
382 $MAJOR.$MINOR.$BUILD and rolled it into Chromium. Please don't forget to \ 382 $MAJOR.$MINOR.$BUILD and rolled it into Chromium. Please don't forget to \
383 update the v8rel spreadsheet:" 383 update the v8rel spreadsheet:"
384 else 384 else
385 echo "Congratulations, you have successfully created the trunk revision \ 385 echo "Congratulations, you have successfully created the trunk revision \
386 $MAJOR.$MINOR.$BUILD. Please don't forget to roll this new version into \ 386 $MAJOR.$MINOR.$BUILD. Please don't forget to roll this new version into \
387 Chromium, and to update the v8rel spreadsheet:" 387 Chromium, and to update the v8rel spreadsheet:"
388 fi 388 fi
389 echo -e "$MAJOR.$MINOR.$BUILD\ttrunk\t$TRUNK_REVISION" 389 echo -e "$MAJOR.$MINOR.$BUILD\ttrunk\t$TRUNK_REVISION"
390 common_cleanup 390 common_cleanup
391 [[ "$TRUNKBRANCH" != "$CURRENT_BRANCH" ]] && git branch -D $TRUNKBRANCH 391 [[ "$TRUNKBRANCH" != "$CURRENT_BRANCH" ]] && git branch -D $TRUNKBRANCH
392 fi 392 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698