trying another thing
This commit is contained in:
parent
bc21106448
commit
3f39d1ccb3
|
@ -18,7 +18,7 @@ steps:
|
|||
displayName: 'Install Node.js'
|
||||
|
||||
- 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}"
|
||||
displayName: 'Setting packageVersion'
|
||||
|
||||
|
|
Loading…
Reference in New Issue