diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-03-14 11:01:31 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2016-03-14 13:54:38 +0000 |
commit | 28e67b5e929824553ab80de8d37288a684b00008 (patch) | |
tree | 1f06ccc21835a467c2159488999fe38cf2ba9abb /compile.sh | |
parent | 9f2c4f7bc8f1b0397886b836f53d783ff6dada37 (diff) |
Add the last Bazel version number to ./compile.sh
All Bazel should now contain the latest version with a date
modifier to ensure we can track all Bazel builds out there.
It is especially important for #1014.
--
Change-Id: I8d17d9e1660b104c2b8623d5a8a06d010d044ea7
Reviewed-on: https://bazel-review.googlesource.com/3070
MOS_MIGRATED_REVID=117120584
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh index 24a179f05a..56299b8f1b 100755 --- a/compile.sh +++ b/compile.sh @@ -83,7 +83,7 @@ fi if [ "${EMBED_LABEL-x}" = "x" ]; then # Add a default label when unspecified git_sha1=$(git_sha1) - EMBED_LABEL="head (@${git_sha1:-non-git})" + EMBED_LABEL="$(get_last_version) (@${git_sha1:-non-git})" fi if [[ $PLATFORM == "darwin" ]] && \ |