mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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;
|
$rootPath = $env:GITHUB_WORKSPACE;
|
||||||
$ipaPath = "$rootPath/com.8bit.bitwarden.ipa"
|
$ipaPath = "$rootPath/Bitwarden.ipa"
|
||||||
|
|
||||||
xcrun altool --upload-app --type ios --file "$ipaPath" `
|
xcrun altool --upload-app --type ios --file "$ipaPath" `
|
||||||
--username "$env:APPLE_ID_USERNAME" --password "$env:APPLE_ID_PASSWORD"
|
--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
|
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
|
||||||
|
|
||||||
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
|
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
|
||||||
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
|
$archiveBasePath = "$homePath/Library/Developer/Xcode/Archives/*";
|
||||||
$exportPath = "$rootPath/com.8bit.bitwarden.ipa"
|
$archivePath = "$archiveBasePath/*.xcarchive";
|
||||||
|
$exportPath = "$archiveBasePath/ipa-export";
|
||||||
|
$ipaPath = "$exportPath/Bitwarden.ipa";
|
||||||
|
$destIpaPath = "$rootPath/Bitwarden.ipa";
|
||||||
|
|
||||||
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|
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">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>MinimumOSVersion</key>
|
<key>MinimumOSVersion</key>
|
||||||
<string>10.0</string>
|
<string>10.0</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
|
Loading…
Reference in a new issue