fixing another syntax error

This commit is contained in:
Joseph Flinn 2020-12-30 23:00:07 +00:00
parent 58ed7f5f6a
commit af41a59a60
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ steps:
- task: PoswerShell@v2
inputs:
targetType: 'inline'
script: |
$packageVersion = (Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
echo "##vso[task.setvariable variable=PACKAGE_VERSION]${packageVersion}"
script: |
$packageVersion = (Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
echo "##vso[task.setvariable variable=PACKAGE_VERSION]${packageVersion}"
displayName: 'Setting packageVersion'
- script: |