From 9de39b1e8556c2637824537ae3575d39e375e2c9 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 18 Sep 2020 14:51:08 -0700 Subject: [PATCH] devops: hardcode build number in winldd executable (#3923) This will allow us to trace builds back to source code. --- browser_patches/winldd/BUILD_NUMBER | 2 +- browser_patches/winldd/PrintDeps.cpp | 2 +- browser_patches/winldd/buildwin.bat | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/browser_patches/winldd/BUILD_NUMBER b/browser_patches/winldd/BUILD_NUMBER index 83b33d238d..dd11724042 100644 --- a/browser_patches/winldd/BUILD_NUMBER +++ b/browser_patches/winldd/BUILD_NUMBER @@ -1 +1 @@ -1000 +1001 diff --git a/browser_patches/winldd/PrintDeps.cpp b/browser_patches/winldd/PrintDeps.cpp index ec212d4621..f7d68a08c6 100644 --- a/browser_patches/winldd/PrintDeps.cpp +++ b/browser_patches/winldd/PrintDeps.cpp @@ -113,7 +113,7 @@ int printDependencies(const char* library) int printUsage() { - std::cout << "Usage:\n PrintDeps FILE..." << std::endl; + std::cout << "Version: r" << BUILD_NUMBER << " Usage:\n PrintDeps FILE..." << std::endl; return -1; } diff --git a/browser_patches/winldd/buildwin.bat b/browser_patches/winldd/buildwin.bat index c3810004a9..51e2f839da 100644 --- a/browser_patches/winldd/buildwin.bat +++ b/browser_patches/winldd/buildwin.bat @@ -1 +1,3 @@ +SET /p BUILD_NUMBER=