[Build-System] Sign FreeSWITCH modules with timestamp on Windows when new version is released.

This commit is contained in:
Andrey Volk 2020-06-12 14:12:46 +04:00
parent 1984e88f6a
commit e173578a78
1 changed files with 12 additions and 7 deletions

View File

@ -1028,10 +1028,15 @@
SigningTarget="%(ExeFiles.Identity)"
TargetFrameworkVersion="v4.5" />
<Message Importance="High" Text="Signing FreeSWITCH Modules" />
<SignFile ContinueOnError="WarnAndContinue"
<SignFile Condition="'$(GitCommits)' != '0'" ContinueOnError="WarnAndContinue"
CertificateThumbprint="$(CertificateThumbprint)"
SigningTarget="%(Modules.Identity)"
TargetFrameworkVersion="v4.5" />
<SignFile Condition="'$(GitCommits)' == '0'" ContinueOnError="WarnAndContinue"
CertificateThumbprint="$(CertificateThumbprint)"
TimestampUrl="$(TimestampUrl)"
SigningTarget="%(Modules.Identity)"
TargetFrameworkVersion="v4.5" />
<HeatDirectory
ToolPath="$(WixToolPath)"
OutputFile="$(ProjectDir)Fragments\FreeSWITCHConfFiles.wxs"