mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 21:33:36 +00:00
cleanup export, ipa artifact
This commit is contained in:
19
.github/scripts/ios/export-ipa.ps1
vendored
19
.github/scripts/ios/export-ipa.ps1
vendored
@@ -4,21 +4,10 @@
|
||||
)
|
||||
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$resourcesPath = "$rootPath/.github/resources";
|
||||
$exportOptionsPath = "$resourcesPath/export-options-$method.plist";
|
||||
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
|
||||
$archivesPath = "$homePath/Library/Developer/Xcode/Archives";
|
||||
|
||||
cd $archivesPath
|
||||
cd *
|
||||
ls
|
||||
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
|
||||
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
|
||||
$exportPath = "$rootPath/com.8bit.bitwarden.ipa"
|
||||
|
||||
xcodebuild -exportArchive -archivePath *.xcarchive -exportPath com.8bit.bitwarden.ipa -exportOptionsPlist $exportOptionsPath
|
||||
|
||||
ls
|
||||
|
||||
$destPath = "$rootPath/com.8bit.bitwarden.ipa"
|
||||
Copy-Item com.8bit.bitwarden.ipa $destPath
|
||||
|
||||
cd $rootPath
|
||||
ls
|
||||
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|
||||
|
||||
Reference in New Issue
Block a user