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

This will allow us to trace builds back to source code.
This commit is contained in:
Andrey Lushnikov 2020-09-18 14:51:08 -07:00 committed by GitHub
parent 0ade6af689
commit 9de39b1e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
1000
1001

View File

@ -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;
}

View File

@ -1 +1,3 @@
SET /p BUILD_NUMBER=<BUILD_NUMBER
SET CL=/DBUILD_NUMBER=%BUILD_NUMBER%
%DEVENV% %~dp0\PrintDeps.sln /build "Release|x64"