diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ee884bfe0..8b055c41e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -285,6 +285,8 @@ jobs: $private_key = "$Env:TAURI_PRIVATE_KEY" $private_key_password = "$Env:TAURI_KEY_PASSWORD" + $cli_input_file_path = "desktop\src-tauri\bin\devpod-cli-${{ matrix.settings.target }}.exe" + $msi_file_name = "DevPod_${{ needs.create-release.outputs.package_version }}_x64_en-US" $msi_input_file_path = "desktop\src-tauri\target\${{ matrix.settings.target }}\release\bundle\msi\$msi_file_name.msi" @@ -312,10 +314,12 @@ jobs: Write-Output "Sigining files" + $cli_input_file_path = Resolve-Path "..\$cli_input_file_path" | select -ExpandProperty Path $msi_input_file_path = Resolve-Path "..\$msi_input_file_path" | select -ExpandProperty Path $nsis_input_file_path = Resolve-Path "..\$nsis_input_file_path" | select -ExpandProperty Path $updater_input_file_path = Resolve-Path "..\$updater_input_file_path" | select -ExpandProperty Path + cmd.exe /c ".\CodeSignTool.bat" sign -username="$username" -password="$password" -totp_secret="$totp_secret" -credential_id="$credential_id" -input_file_path="$cli_input_file_path" -override cmd.exe /c ".\CodeSignTool.bat" sign -username="$username" -password="$password" -totp_secret="$totp_secret" -credential_id="$credential_id" -input_file_path="$msi_input_file_path" -override cmd.exe /c ".\CodeSignTool.bat" sign -username="$username" -password="$password" -totp_secret="$totp_secret" -credential_id="$credential_id" -input_file_path="$nsis_input_file_path" -override cmd.exe /c ".\CodeSignTool.bat" sign -username="$username" -password="$password" -totp_secret="$totp_secret" -credential_id="$credential_id" -input_file_path="$updater_input_file_path" -override