mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
get proper ipa for app store
This commit is contained in:
parent
302631c4fa
commit
6fd24c842f
3 changed files with 8 additions and 5 deletions
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
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>10.0</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
|
|
Loading…
Reference in a new issue