fix ipa path

This commit is contained in:
Kyle Spearrin 2020-06-10 13:30:08 -04:00
parent caed8c2cf0
commit 1066598150
3 changed files with 5 additions and 10 deletions

View File

@ -1,5 +1,5 @@
$rootPath = $env:GITHUB_WORKSPACE;
$ipaPath = "$rootPath/Bitwarden.ipa"
$ipaPath = "$rootPath/bitwarden-export/Bitwarden.ipa"
xcrun altool --upload-app --type ios --file "$ipaPath" `
--username "$env:APPLE_ID_USERNAME" --password "$env:APPLE_ID_PASSWORD"

View File

@ -7,12 +7,7 @@ $rootPath = $env:GITHUB_WORKSPACE;
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
$archiveBasePath = "$homePath/Library/Developer/Xcode/Archives/*";
$archivePath = "$archiveBasePath/*.xcarchive";
$exportPath = "$rootPath/bitwardenios";
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
$exportPath = "$rootPath/bitwarden-export";
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
ls
cd $exportPath
ls

View File

@ -179,8 +179,8 @@ jobs:
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v2
with:
name: com.8bit.bitwarden.ipa
path: ./com.8bit.bitwarden.ipa
name: Bitwarden.ipa
path: ./bitwarden-export/Bitwarden.ipa
- name: Deploy to App Store
if: github.ref == 'refs/heads/master'