manuell manuell - 2 months ago 10
Git Question

How to get a 'last stable' version of the V8 sources

I installed "git for windows" version 2.10.0 and "depot_tools", then successfully ran the

fetch v8
command.

For reference, I had to fix one problem:
fetch
breaks if there is no
DEPOT_TOOLS_WIN_TOOLCHAIN=0
environment variable.

Anyway, I know have a v8 source tree, with 55k files (1Go), and the next step is to build V8 (for Windows)

My question:
git branch
says:

* (HEAD detached at origin/master)
master


I see here that the last stable version for V8 on win64 is "5.3.332.45".
How do I setup my source tree to be the one used to build that version?

(yes I am a complete newbie to git)(but used with svn)

Answer

From the information here: https://www.chromium.org/developers/how-tos/get-the-code/working-with-release-branches

after making sure to have all the tags available:

git fetch --tags

You can create a branch and check out a tagged release with:

git checkout -b BRANCH_NAME tags/TAG_NAME

BRANCH_NAME doesn't need to exist, it will be created automatically

TAG_NAME is the value from the tag of the release, which is the v8_version field found here: http://omahaproxy.appspot.com/