Add workflow signing assets
This commit is contained in:
29
LiamWorkflowDiagnostics/SignSourceFiles.cmd
Normal file
29
LiamWorkflowDiagnostics/SignSourceFiles.cmd
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
|
||||||
|
set "ProductName=C4IT Light Identity Access Management"
|
||||||
|
set "SignTool=..\..\Common Code\Tools\signtool.exe"
|
||||||
|
set "TimeStamp=http://rfc3161timestamp.globalsign.com/advanced"
|
||||||
|
|
||||||
|
set "FileList="
|
||||||
|
|
||||||
|
if exist ".\bin\Release\LiamWorkflowDiagnostics.exe" (
|
||||||
|
set "FileList=!FileList! ".\bin\Release\LiamWorkflowDiagnostics.exe""
|
||||||
|
)
|
||||||
|
|
||||||
|
for %%F in (".\bin\Release\Liam*.dll") do (
|
||||||
|
if exist "%%~fF" (
|
||||||
|
set "FileList=!FileList! "%%F""
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
if not defined FileList (
|
||||||
|
echo No matching release binaries found to sign.
|
||||||
|
pause
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Signing all matching files at once...
|
||||||
|
call "%SignTool%" sign /a /tr %TimeStamp% /td SHA256 /fd SHA256 /d "%ProductName%" !FileList!
|
||||||
|
|
||||||
|
pause
|
||||||
BIN
Sonstiges/Icon1.ico
Normal file
BIN
Sonstiges/Icon1.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 200 KiB |
Reference in New Issue
Block a user