devops: hardcode build number in winldd executable (#3923)
This will allow us to trace builds back to source code.
This commit is contained in:
parent
0ade6af689
commit
9de39b1e85
|
|
@ -1 +1 @@
|
||||||
1000
|
1001
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ int printDependencies(const char* library)
|
||||||
|
|
||||||
int printUsage()
|
int printUsage()
|
||||||
{
|
{
|
||||||
std::cout << "Usage:\n PrintDeps FILE..." << std::endl;
|
std::cout << "Version: r" << BUILD_NUMBER << " Usage:\n PrintDeps FILE..." << std::endl;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
|
SET /p BUILD_NUMBER=<BUILD_NUMBER
|
||||||
|
SET CL=/DBUILD_NUMBER=%BUILD_NUMBER%
|
||||||
%DEVENV% %~dp0\PrintDeps.sln /build "Release|x64"
|
%DEVENV% %~dp0\PrintDeps.sln /build "Release|x64"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue