dist build for all
This commit is contained in:
parent
874e8056f8
commit
7e1c6e0ee2
|
@ -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
|
|
||||||
|
if (-not $skipoutcopy) {
|
||||||
|
if ($mas) {
|
||||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||||
}
|
}
|
||||||
elseif ($masdev) {
|
elseif ($masdev) {
|
||||||
npm run dist:safari
|
|
||||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
npm run dist:safari:dmg
|
|
||||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cd $rootDir
|
cd $rootDir
|
||||||
|
|
Loading…
Reference in New Issue