fixing pwsh task

This commit is contained in:
Joseph Flinn 2021-01-04 22:32:06 +00:00
parent 539e906936
commit 033cee57b8
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ steps:
version: 3.x version: 3.x
installationPath: $(Agent.ToolsDirectory)/dotnet installationPath: $(Agent.ToolsDirectory)/dotnet
- script: | - pwsh: |
git clone https://github.com/vcsjones/AzureSignTool.git git clone https://github.com/vcsjones/AzureSignTool.git
$latest_head = $(git rev-parse HEAD)[0...9] -join "" $latest_head = $(git rev-parse HEAD)[0...9] -join ""
$latest_version = "0.0.0-g$latest_head" $latest_version = "0.0.0-g$latest_head"
@ -42,7 +42,6 @@ steps:
dotnet pack --output ./nupkg dotnet pack --output ./nupkg
dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool
displayName: 'Install AST' displayName: 'Install AST'
shell: pwsh
- script: | - script: |