diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-09-27 17:20:19 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-09-27 17:27:29 +0000 |
commit | 8a0d45ff940eea72a2887dc747d961c42f0e79c7 (patch) | |
tree | d379981172ccbf7a0d2e56336d046a2d415f02f8 /scripts | |
parent | aac25f67685d7e111b8dc9b425ec0715fd0d0f41 (diff) |
Add the version information to the bazel.exe file
Current change do not include version number. Include the version
number in the artifact.
Closes #1841.
--
Change-Id: I2516527829ec28c7c9abea2424f2e7d9585af9b0
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1841
MOS_MIGRATED_REVID=134422109
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/windows/compile_windows.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/ci/windows/compile_windows.sh b/scripts/ci/windows/compile_windows.sh index 584f87473c..03d4087f0c 100755 --- a/scripts/ci/windows/compile_windows.sh +++ b/scripts/ci/windows/compile_windows.sh @@ -42,6 +42,10 @@ mkdir -p "${TMPDIR}" # mkdir does work with a path starting with 'c:/', wow # containing spaces seem to be passed properly. echo "Bootstrapping Bazel" retCode=0 +source ./scripts/ci/build.sh + +# TODO(bazel-team): we should replace ./compile.sh by the same script we use +# for other platform ./compile.sh "$*" || retCode=$? if (( $retCode != 0 )); then echo "$retCode" > .unstable @@ -50,7 +54,7 @@ fi # Copy the resulting artifact. mkdir -p output/ci -cp output/bazel.exe output/ci/ +cp output/bazel.exe output/ci/bazel-$(get_full_release_name).exe # todo(bazel-team): add more tests here. echo "Running tests" |