fix prod deploy for snap and npm
This commit is contained in:
parent
a59b7a1942
commit
042201e895
|
@ -127,7 +127,6 @@ after_build:
|
|||
else {
|
||||
echo "Deploy Windows..."
|
||||
.\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
|
||||
npm run publish:npm
|
||||
}
|
||||
}
|
||||
- sh: |
|
||||
|
@ -135,6 +134,7 @@ after_build:
|
|||
then
|
||||
snapcraft logout
|
||||
fi
|
||||
- cmd: if ["%PROD_DEPLOY%"] equ ["true"] npm run publish:npm
|
||||
|
||||
on_finish:
|
||||
- ps: |
|
||||
|
|
|
@ -29,3 +29,4 @@ Copy-Item -Path $snapDir -Destination $distSnapDir –Recurse
|
|||
(Get-Content $snapDistYaml).replace('__version__', $version) | Set-Content $snapDistYaml
|
||||
cd $distSnapDir
|
||||
snapcraft
|
||||
cd $rootDir
|
||||
|
|
Loading…
Reference in New Issue