A cross platform Audiobookshelf client for Android and iOS
Dart
Fix codemagic.yaml: remove invalid fields, use gh CLI for GitHub releases
Nathan Poulson28d329192f27
diff --git a/codemagic.yaml b/codemagic.yamlindex d770fd54..6d4d2b2b 100644--- a/codemagic.yaml+++ b/codemagic.yaml@@ -3,8 +3,6 @@ workflows:name: Android Releasemax_build_duration: 60instance_type: mac_mini_m2- triggering:- enabled: falseenvironment:android_signing:- absorb_keystore@@ -17,22 +15,22 @@ workflows:script: flutter build apk --release --flavor github --dart-define=GITHUB_BUILD=true- name: Build Play Store AABscript: flutter build appbundle --release --flavor playstore --dart-define=PLAYSTORE_BUILD=true+ - name: Publish to GitHub Draft Release+ script: |+ gh release create "v$(grep 'version:' pubspec.yaml | head -1 | sed 's/version: //' | cut -d'+' -f1)" \+ build/app/outputs/apk/github/release/*.apk \+ build/app/outputs/bundle/playstoreRelease/*.aab \+ --draft \+ --title "v$(grep 'version:' pubspec.yaml | head -1 | sed 's/version: //' | cut -d'+' -f1)" \+ --repo "$CM_REPO_SLUG"artifacts:- build/app/outputs/apk/github/release/*.apk- build/app/outputs/bundle/playstoreRelease/*.aab- publishing:- github:- owner: neilpoulin- name: absorb- is_pre_release: false- is_draft: trueios-release:name: iOS Releasemax_build_duration: 60instance_type: mac_mini_m2- triggering:- enabled: falseenvironment:ios_signing:distribution_type: app_store