1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00
bitwarden-desktop/.github/scripts/load-version.ps1

6 lines
260 B
PowerShell
Raw Normal View History

2020-09-24 18:17:41 +02:00
$rootPath = $env:GITHUB_WORKSPACE;
$packageVersion = (Get-Content -Raw -Path $rootPath\src\package.json | ConvertFrom-Json).version;
Write-Output "Setting package version to $packageVersion";
Write-Output "::set-env name=PACKAGE_VERSION::$packageVersion";