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";
|
2020-11-03 19:29:00 +01:00
|
|
|
|
Write-Output "PACKAGE_VERSION=$packageVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append;
|