mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
switching over to powershell
This commit is contained in:
parent
3f39d1ccb3
commit
58ed7f5f6a
@ -17,9 +17,12 @@ steps:
|
||||
versionSpec: '10.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
packageVersion=(Get-Content -Raw -Path $(System.DefaultWorkingDirectory)\src\package.json | ConvertFrom-Json).version;
|
||||
echo "##vso[task.setvariable variable=PACKAGE_VERSION]${packageVersion}"
|
||||
- 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}"
|
||||
displayName: 'Setting packageVersion'
|
||||
|
||||
- script: |
|
||||
|
Loading…
Reference in New Issue
Block a user