dist build for all
This commit is contained in:
parent
874e8056f8
commit
7e1c6e0ee2
|
@ -180,3 +180,9 @@ jobs:
|
|||
env:
|
||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||
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,
|
||||
[switch] $mas,
|
||||
[switch] $masdev,
|
||||
[switch] $skipcheckout
|
||||
[switch] $skipcheckout,
|
||||
[switch] $skipoutcopy
|
||||
)
|
||||
|
||||
# Dependencies:
|
||||
|
@ -45,16 +46,18 @@ if (-not ([string]::IsNullOrEmpty($version))) {
|
|||
}
|
||||
|
||||
npm i
|
||||
if ($mas) {
|
||||
npm run dist:safari:mas
|
||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
elseif ($masdev) {
|
||||
npm run dist:safari
|
||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
else {
|
||||
npm run dist:safari:dmg
|
||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||
npm run dist:safari
|
||||
|
||||
if (-not $skipoutcopy) {
|
||||
if ($mas) {
|
||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
elseif ($masdev) {
|
||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
else {
|
||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
}
|
||||
|
||||
cd $rootDir
|
||||
|
|
Loading…
Reference in New Issue