diff --git a/appveyor.yml b/appveyor.yml index 681edc6e1..47e1bc732 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,7 +36,7 @@ after_build: - set APPS=%APPVEYOR_BUILD_FOLDER%\RocksmithTookitGUI\ThirdPartyApps - rem Code signing - ps: if ($env:cert_url) { Start-FileDownload $env:cert_url } - - if defined cert_url signtool sign /v /f selfsigned2020.pfx /p "%cert_pass%" /t http://timestamp.digicert.com?alg=sha1 "%BIN%\Release\RocksmithToolkitGUI.exe" "%BIN%\Release\RocksmithToolkitUpdater.exe" "%BIN%\Release\RocksmithToolkitLib.dll" + - if defined cert_url signtool sign /v /f selfsigned2020.pfx /p "%cert_pass%" /tr http://timestamp.digicert.com /td sha256 /fd sha256 "%BIN%\Release\RocksmithToolkitGUI.exe" "%BIN%\Release\RocksmithToolkitUpdater.exe" "%BIN%\Release\RocksmithToolkitLib.dll" - rem General package variables - ps: $env:BuildVer = Select-String -Path $env:APPVEYOR_BUILD_FOLDER"\RocksmithToolkitLib\Properties\AssemblyInfo.cs" -Pattern '^\[assembly:\ AssemblyVersion\("(.*?)"\)\]' | % { $_.Matches } | % { $_.Groups[1].Value } - ps: $env:BuildCommit = $env:APPVEYOR_REPO_COMMIT.Substring(0, 8)