From 033cee57b87ad3a07c5750c909185bbb8bdaa8e4 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 4 Jan 2021 22:32:06 +0000 Subject: [PATCH] fixing pwsh task --- .az-pipelines/windows-build-sign.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.az-pipelines/windows-build-sign.yml b/.az-pipelines/windows-build-sign.yml index 20f4ded84f..ebebd075b7 100644 --- a/.az-pipelines/windows-build-sign.yml +++ b/.az-pipelines/windows-build-sign.yml @@ -29,7 +29,7 @@ steps: version: 3.x installationPath: $(Agent.ToolsDirectory)/dotnet -- script: | +- pwsh: | git clone https://github.com/vcsjones/AzureSignTool.git $latest_head = $(git rev-parse HEAD)[0...9] -join "" $latest_version = "0.0.0-g$latest_head" @@ -42,7 +42,6 @@ steps: dotnet pack --output ./nupkg dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool displayName: 'Install AST' - shell: pwsh - script: |