mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 21:33:36 +00:00
get proper ipa for app store
This commit is contained in:
2
.github/scripts/ios/deploy-app-store.ps1
vendored
2
.github/scripts/ios/deploy-app-store.ps1
vendored
@@ -1,5 +1,5 @@
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$ipaPath = "$rootPath/com.8bit.bitwarden.ipa"
|
||||
$ipaPath = "$rootPath/Bitwarden.ipa"
|
||||
|
||||
xcrun altool --upload-app --type ios --file "$ipaPath" `
|
||||
--username "$env:APPLE_ID_USERNAME" --password "$env:APPLE_ID_PASSWORD"
|
||||
|
||||
9
.github/scripts/ios/export-ipa.ps1
vendored
9
.github/scripts/ios/export-ipa.ps1
vendored
@@ -7,7 +7,12 @@ $rootPath = $env:GITHUB_WORKSPACE;
|
||||
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
|
||||
|
||||
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
|
||||
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
|
||||
$exportPath = "$rootPath/com.8bit.bitwarden.ipa"
|
||||
$archiveBasePath = "$homePath/Library/Developer/Xcode/Archives/*";
|
||||
$archivePath = "$archiveBasePath/*.xcarchive";
|
||||
$exportPath = "$archiveBasePath/ipa-export";
|
||||
$ipaPath = "$exportPath/Bitwarden.ipa";
|
||||
$destIpaPath = "$rootPath/Bitwarden.ipa";
|
||||
|
||||
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|
||||
|
||||
Copy-Item $ipaPath $destIpaPath
|
||||
|
||||
Reference in New Issue
Block a user