mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
fix prod deploy for snap and npm
This commit is contained in:
@@ -127,7 +127,6 @@ after_build:
|
|||||||
else {
|
else {
|
||||||
echo "Deploy Windows..."
|
echo "Deploy Windows..."
|
||||||
.\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
|
.\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
|
||||||
npm run publish:npm
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
- sh: |
|
- sh: |
|
||||||
@@ -135,6 +134,7 @@ after_build:
|
|||||||
then
|
then
|
||||||
snapcraft logout
|
snapcraft logout
|
||||||
fi
|
fi
|
||||||
|
- cmd: if ["%PROD_DEPLOY%"] equ ["true"] npm run publish:npm
|
||||||
|
|
||||||
on_finish:
|
on_finish:
|
||||||
- ps: |
|
- ps: |
|
||||||
|
|||||||
@@ -29,3 +29,4 @@ Copy-Item -Path $snapDir -Destination $distSnapDir –Recurse
|
|||||||
(Get-Content $snapDistYaml).replace('__version__', $version) | Set-Content $snapDistYaml
|
(Get-Content $snapDistYaml).replace('__version__', $version) | Set-Content $snapDistYaml
|
||||||
cd $distSnapDir
|
cd $distSnapDir
|
||||||
snapcraft
|
snapcraft
|
||||||
|
cd $rootDir
|
||||||
|
|||||||
Reference in New Issue
Block a user