build.version.props: MyCrossCert, MyCertIssuer

This commit is contained in:
Bill Zissimopoulos 2022-02-24 13:20:21 +00:00
parent cdcd6af81d
commit 8d83d46e7f
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3
4 changed files with 13 additions and 4 deletions

View File

@ -23,6 +23,9 @@
<MyProductVersion>2022+ARM64 Beta1</MyProductVersion> <MyProductVersion>2022+ARM64 Beta1</MyProductVersion>
<MyProductStage>Beta</MyProductStage> <MyProductStage>Beta</MyProductStage>
<MyCrossCert>DigiCert High Assurance EV Root CA.crt</MyCrossCert>
<MyCertIssuer>DigiCert</MyCertIssuer>
<MyVersion>$(MyCanonicalVersion).$(MyBuildNumber)</MyVersion> <MyVersion>$(MyCanonicalVersion).$(MyBuildNumber)</MyVersion>
<MyVersionWithCommas>$(MyVersion.Replace('.',',')),0</MyVersionWithCommas> <MyVersionWithCommas>$(MyVersion.Replace('.',',')),0</MyVersionWithCommas>
<MyFullVersion>$(MyCanonicalVersion).$(MyBuildNumber).$(MyGitRevision)</MyFullVersion> <MyFullVersion>$(MyCanonicalVersion).$(MyBuildNumber).$(MyGitRevision)</MyFullVersion>

View File

@ -6,8 +6,8 @@ setlocal EnableDelayedExpansion
call "%~dp0myinfo.bat" call "%~dp0myinfo.bat"
set MsiName="%MyProductName% - %MyDescription%" set MsiName="%MyProductName% - %MyDescription%"
set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt" set CrossCert="%~dp0%MyCrossCert%"
set Issuer="DigiCert" set Issuer="%MyCertIssuer%"
set Subject="%MyCompanyName%" set Subject="%MyCompanyName%"
set Configuration=Release set Configuration=Release

View File

@ -6,8 +6,8 @@ setlocal EnableDelayedExpansion
call "%~dp0myinfo.bat" call "%~dp0myinfo.bat"
set MsiName="%MyProductName% - %MyDescription%" set MsiName="%MyProductName% - %MyDescription%"
set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt" set CrossCert="%~dp0%MyCrossCert%"
set Issuer="DigiCert" set Issuer="%MyCertIssuer%"
set Subject="%MyCompanyName%" set Subject="%MyCompanyName%"
set Configuration=Release set Configuration=Release

View File

@ -14,6 +14,10 @@ for /F "tokens=2,3,4 delims=<>" %%a in (%~dp0..\build\VStudio\build.version.prop
set MyProductVersion=%%b set MyProductVersion=%%b
) else if "%%a"=="MyProductStage" ( ) else if "%%a"=="MyProductStage" (
set MyProductStage=%%b set MyProductStage=%%b
) else if "%%a"=="MyCrossCert" (
set MyCrossCert=%%b
) else if "%%a"=="MyCertIssuer" (
set MyCertIssuer=%%b
) )
) )
) )
@ -24,3 +28,5 @@ echo MyDescription=%MyDescription%
echo MyCompanyName=%MyCompanyName% echo MyCompanyName=%MyCompanyName%
echo MyProductVersion=%MyProductVersion% echo MyProductVersion=%MyProductVersion%
echo MyProductStage=%MyProductStage% echo MyProductStage=%MyProductStage%
echo MyCrossCert=%MyCrossCert%
echo MyCertIssuer=%MyCertIssuer%