mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
dist build for all
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -180,3 +180,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Publish to App Store
|
||||||
|
run: npm run upload:mas
|
||||||
|
env:
|
||||||
|
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||||
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
[string] $version,
|
[string] $version,
|
||||||
[switch] $mas,
|
[switch] $mas,
|
||||||
[switch] $masdev,
|
[switch] $masdev,
|
||||||
[switch] $skipcheckout
|
[switch] $skipcheckout,
|
||||||
|
[switch] $skipoutcopy
|
||||||
)
|
)
|
||||||
|
|
||||||
# Dependencies:
|
# Dependencies:
|
||||||
@@ -45,16 +46,18 @@ if (-not ([string]::IsNullOrEmpty($version))) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
npm i
|
npm i
|
||||||
if ($mas) {
|
npm run dist:safari
|
||||||
npm run dist:safari:mas
|
|
||||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
if (-not $skipoutcopy) {
|
||||||
}
|
if ($mas) {
|
||||||
elseif ($masdev) {
|
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||||
npm run dist:safari
|
}
|
||||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
elseif ($masdev) {
|
||||||
}
|
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||||
else {
|
}
|
||||||
npm run dist:safari:dmg
|
else {
|
||||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cd $rootDir
|
cd $rootDir
|
||||||
|
|||||||
Reference in New Issue
Block a user