Skip to content

Commit

Permalink
Fix SignClient version (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Jun 6, 2024
1 parent d00a21e commit dec71bd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build-system/azure-pipeline.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
inputs:
packageType: sdk
useGlobalJson: true
- task: UseDotNet@2
displayName: "Install .NET 5.0 Runtime"
inputs:
packageType: runtime
version: 5.x
# Linux or macOS
- task: Bash@3
displayName: Linux / OSX Build
Expand Down
6 changes: 6 additions & 0 deletions build-system/windows-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ steps:
packageType: sdk
useGlobalJson: true

- task: UseDotNet@2
displayName: "Install .NET 5.0 Runtime"
inputs:
packageType: runtime
version: 5.x

- task: BatchScript@1
displayName: 'FAKE Build'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if (Get-Command signclient -ErrorAction SilentlyContinue) {
else{
$SignClientFolder = Join-Path $ToolPath "signclient"
Write-Host "SignClient not found. Installing to ... $SignClientFolder"
dotnet tool install SignClient --version 8.0.206 --tool-path "$SignClientFolder"
dotnet tool install SignClient --version 1.3.155 --tool-path "$SignClientFolder"
}

###########################################################################
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fi
# INSTALL SignTool
###########################################################################
if [ ! -f "$SIGNTOOL_EXE" ]; then
"$SCRIPT_DIR/.dotnet/dotnet" tool install SignClient --version 8.0.206 --tool-path "$SIGNCLIENT_DIR"
dotnet tool install SignClient --version 1.3.155 --tool-path "$SIGNCLIENT_DIR"
if [ $? -ne 0 ]; then
echo "SignClient already installed."
fi
Expand Down

0 comments on commit dec71bd

Please sign in to comment.