stub prod_deploy after build
This commit is contained in:
parent
3193682bee
commit
68077326b0
15
appveyor.yml
15
appveyor.yml
|
@ -17,8 +17,12 @@ init:
|
||||||
}
|
}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: $env:package_version = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version
|
|
||||||
- ps: |
|
- ps: |
|
||||||
|
$env:package_version = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version
|
||||||
|
$env:prod_deploy=$false
|
||||||
|
if($env:APPVEYOR_REPO_TAG_NAME -and $env:APPVEYOR_RE_BUILD) {
|
||||||
|
$env:prod_deploy=$true
|
||||||
|
}
|
||||||
if($isWindows) {
|
if($isWindows) {
|
||||||
choco install cloc --no-progress
|
choco install cloc --no-progress
|
||||||
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
||||||
|
@ -47,6 +51,15 @@ build_script:
|
||||||
Push-AppveyorArtifact .\dist\Bitwarden-$env:package_version-ia32.appx
|
Push-AppveyorArtifact .\dist\Bitwarden-$env:package_version-ia32.appx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- ps: |
|
||||||
|
if($isLinux && $env:prod_deploy) {
|
||||||
|
echo "Deploy Linux..."
|
||||||
|
}
|
||||||
|
else if($env:prod_deploy) {
|
||||||
|
echo "Deploy Windows..."
|
||||||
|
}
|
||||||
|
|
||||||
for:
|
for:
|
||||||
-
|
-
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in New Issue