A cross platform Audiobookshelf client for Android and iOS
Dart
Upload iOS IPA to GitHub draft release from Codemagic
Nathan Poulson4e1f7e381244
diff --git a/codemagic.yaml b/codemagic.yamlindex a6a114ce..c090afcd 100644--- a/codemagic.yaml+++ b/codemagic.yaml@@ -94,6 +94,8 @@ workflows:ios_signing:distribution_type: app_storebundle_identifier: com.barnabas.absorb+ groups:+ - github_credentialsflutter: stablexcode: latestscripts:@@ -101,6 +103,21 @@ workflows:script: xcode-project use-profiles- name: Build IPAscript: flutter build ipa --release --export-options-plist=/Users/builder/export_options.plist+ - name: Publish IPA to GitHub Draft Release+ script: |+ VERSION="v$(grep 'version:' pubspec.yaml | head -1 | sed 's/version: //' | cut -d'+' -f1)"+ if gh release view "$VERSION" --repo "$CM_REPO_SLUG" &>/dev/null; then+ gh release upload "$VERSION" \+ build/ios/ipa/*.ipa \+ --clobber \+ --repo "$CM_REPO_SLUG"+ else+ gh release create "$VERSION" \+ build/ios/ipa/*.ipa \+ --draft \+ --title "$VERSION" \+ --repo "$CM_REPO_SLUG"+ fiartifacts:- build/ios/ipa/*.ipapublishing: