mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
fix ipa path
This commit is contained in:
parent
caed8c2cf0
commit
1066598150
3 changed files with 5 additions and 10 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/Bitwarden.ipa"
|
$ipaPath = "$rootPath/bitwarden-export/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,12 +7,7 @@ $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";
|
||||||
$archiveBasePath = "$homePath/Library/Developer/Xcode/Archives/*";
|
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
|
||||||
$archivePath = "$archiveBasePath/*.xcarchive";
|
$exportPath = "$rootPath/bitwarden-export";
|
||||||
$exportPath = "$rootPath/bitwardenios";
|
|
||||||
|
|
||||||
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|
||||||
|
|
||||||
ls
|
|
||||||
cd $exportPath
|
|
||||||
ls
|
|
||||||
|
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -179,8 +179,8 @@ jobs:
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: com.8bit.bitwarden.ipa
|
name: Bitwarden.ipa
|
||||||
path: ./com.8bit.bitwarden.ipa
|
path: ./bitwarden-export/Bitwarden.ipa
|
||||||
|
|
||||||
- name: Deploy to App Store
|
- name: Deploy to App Store
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
Loading…
Reference in a new issue