Skip to content

Commit

Permalink
Update codemagic.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrokz committed Oct 18, 2022
1 parent 4069c40 commit 3901e3c
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions codemagic.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Automatically generated on 2022-10-18 UTC from https://codemagic.io/app/634b9fd922ff8dc8a5ba7c19/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.

workflows:
ani-workflow:
name: Ani Mobile Workflow
max_build_duration: 120
environment:
groups:
- Github
flutter: 3.3.4
xcode: latest
cocoapods: default
Expand All @@ -25,10 +30,26 @@ workflows:
- flutter build ios --release --no-codesign
- flutter build apk --release --split-per-abi
- flutter build appbundle
- name: Publish to Github
script: |
#!/usr/bin/env zsh
# Publish only for tag builds
if [ -z ${CM_TAG} ]; then
echo "Not a tag build, will not publish GitHub release"
exit 0
fi
gh release create "${CM_TAG}" \
--title "<Your Application Name> ${CM_TAG}" \
--notes-file changelog.md \
build/ios/iphoneos/Runner.app \
build/app/outputs/bundle/release/app-release.aab
build/app/outputs/apk/release/*.apk
artifacts:
- build/ios/iphoneos/Runner.app
- build/app/outputs/bundle/release/app-release.aab
- build/app/outputs/apk/release/*.apk
- build/ios/ipa/*.ipa
- build/android/apk/*.apk
- build/android/apk/*.aab
publishing:
email:
recipients:
Expand Down

0 comments on commit 3901e3c

Please sign in to comment.