Retrieve current version from trunk branch in push-to-trunk.
authormachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 19 Mar 2014 13:10:41 +0000 (13:10 +0000)
committermachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 19 Mar 2014 13:10:41 +0000 (13:10 +0000)
commit44e3cfc651273e98e664699c2bdf4ab276e904a6
treeececb64f494ab6217dd96d439b550124549ca56d
parentd8c3c5ef0a83ee3311c93412acf938646738e020
Retrieve current version from trunk branch in push-to-trunk.

- This moves retrieving and incrementing the version before creating the change log
- Before the prepare push commit will be deprecated (follow up CL), the script deals with 3 build levels. X: the current build level on the last trunk push. X + 1: the build level for this trunk push. X + 2: the build level of the new version file on bleeding edge (to be deprecated).

BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/203773013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20071 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
tools/push-to-trunk/git_recipes.py
tools/push-to-trunk/push_to_trunk.py
tools/push-to-trunk/test_scripts.py