fixing the get packageVersion
This commit is contained in:
parent
93d6b610b4
commit
fae96d7ad8
|
@ -19,7 +19,7 @@ steps:
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
$packageVersion = (Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
|
$packageVersion = (Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
|
||||||
echo "##vso[task.setvariable variable=PACKAGE_VERSION]$packageVersion"
|
echo "##vso[task.setvariable variable=PACKAGE_VERSION]$(packageVersion)"
|
||||||
displayName: 'Setting packageVersion'
|
displayName: 'Setting packageVersion'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
|
Loading…
Reference in New Issue