Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: hardcode build number in winldd executable (#3923)

Andrey Lushnikov9de39b1e8556
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=<BUILD_NUMBER
+SET CL=/DBUILD_NUMBER=%BUILD_NUMBER%
%DEVENV% %~dp0\PrintDeps.sln /build "Release|x64"