the bazel binary itself not not insist on having a specific name. So
you can install the various binaries under different names somewhere
in the search path and then call whatever you need of 'bazel044 build
...', 'bazel045rc6 build ...' etc. That's what I do. If you want a
central point to switch, install the various versions into separate
directories and change the PATH environment variable as needed.
In both those ways, the switching is local to your machine and you do
not have to touch the source code.
Regards,
Klaus
--
Klaus Aehlig
Google Germany GmbH, Erika-Mann-Str. 33, 80636 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Matthew Scott Sucherman, Paul Terence Manicle