mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
switching over to powershell
This commit is contained in:
@@ -17,8 +17,11 @@ steps:
|
|||||||
versionSpec: '10.x'
|
versionSpec: '10.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
|
|
||||||
- script: |
|
- task: PoswerShell@v2
|
||||||
packageVersion=(Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
|
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}"
|
echo "##vso[task.setvariable variable=PACKAGE_VERSION]${packageVersion}"
|
||||||
displayName: 'Setting packageVersion'
|
displayName: 'Setting packageVersion'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user