deploy to app store

This commit is contained in:
Kyle Spearrin 2020-06-10 11:32:16 -04:00
parent 8e6c6e04a3
commit 097415385e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
$rootPath = $env:GITHUB_WORKSPACE;
$ipaPath = "$rootPath/com.8bit.bitwarden.ipa"
xcrun altool --upload-app --file "$ipaPath" --username "$env:APPLE_ID_USERNAME" --password "$env:APPLE_ID_PASSWORD"

View File

@ -161,12 +161,14 @@ jobs:
run: nuget restore
- name: Archive Build for App Store
if: github.ref == 'refs/heads/master'
run: ./.github/scripts/ios/build.ps1 -configuration AppStore -platform iPhone -archive
shell: pwsh
env:
KEYCHAIN_PASSWORD: ${{ secrets.IOS_KEYCHAIN_PASSWORD }}
- name: Export .ipa for App Store
if: github.ref == 'refs/heads/master'
run: ./.github/scripts/ios/export-ipa.ps1 -method app-store
shell: pwsh
@ -176,3 +178,11 @@ jobs:
with:
name: com.8bit.bitwarden.ipa
path: ./com.8bit.bitwarden.ipa
- name: Deploy to App Store
if: github.ref == 'refs/heads/master'
run: ./.github/scripts/ios/deploy-app-store.ps1
shell: pwsh
env:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}