mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
fix env refs
This commit is contained in:
parent
b6cb373749
commit
4e530b4712
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -46,8 +46,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$PACKAGE_VERSION = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version
|
$PACKAGE_VERSION = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version
|
||||||
$PROD_DEPLOY = "false"
|
$PROD_DEPLOY = "false"
|
||||||
if($env.GITHUB_REF.StartsWith("refs/tags/v")) {
|
if($env:GITHUB_REF.StartsWith("refs/tags/v")) {
|
||||||
echo "::set-env name=RELEASE_NAME::$env.GITHUB_REF.Replace('refs/tags/v', '')"
|
echo "::set-env name=RELEASE_NAME::$env:GITHUB_REF.Replace('refs/tags/v', '')"
|
||||||
}
|
}
|
||||||
echo "::set-env name=PACKAGE_VERSION::$PACKAGE_VERSION"
|
echo "::set-env name=PACKAGE_VERSION::$PACKAGE_VERSION"
|
||||||
echo "::set-env name=PROD_DEPLOY::$PROD_DEPLOY"
|
echo "::set-env name=PROD_DEPLOY::$PROD_DEPLOY"
|
||||||
|
Loading…
Reference in New Issue
Block a user