mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 00:27:19 +00:00
Require SIGNTOOL_PARAMS to be set externally
This commit is contained in:
1 parent
e8fefc8cd2
commit
afcd08ccbc
2 files changed
+10
-4
No files matched your search
@@ -25,6 +25,11 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
||||
echo Signed release builds must not have unstaged changes!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not defined SIGNTOOL_PARAMS (
|
||||
echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds"
|
||||
exit /b 1
|
||||
)
|
||||
) else (
|
||||
echo Invalid build configuration - expected 'debug' or 'release'
|
||||
exit /b 1
|
||||
@@ -32,8 +37,6 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
||||
)
|
||||
)
|
||||
|
||||
set SIGNTOOL_PARAMS=sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /sha1 8b9d0d682ad9459e54f05a79694bc10f9876e297 /v
|
||||
|
||||
set BUILD_ROOT=%cd%\build
|
||||
set SOURCE_ROOT=%cd%
|
||||
set BUILD_FOLDER=%BUILD_ROOT%\build-%BUILD_CONFIG%
|
||||
|
||||
Reference in new issue
Block a user