Skip to content

Commit

Permalink
🔧 Added codemagic config file
Browse files Browse the repository at this point in the history
  • Loading branch information
iqfareez authored Feb 11, 2023
1 parent d1032a3 commit 851c3a6
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions codemagic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Automatically generated on 2023-02-11 UTC from https://codemagic.io/app/63e722fdb96d2f5c6eea9cfb/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.

workflows:
default-workflow:
name: Default Workflow
max_build_duration: 60
environment:
flutter: stable
xcode: latest
cocoapods: default
triggering:
events:
- tag
branch_patterns:
- pattern: '*'
include: true
source: true
tag_patterns:
- pattern: '*'
include: true
scripts:
- |
set -e
# set up debug keystore
rm -f ~/.android/debug.keystore
keytool -genkeypair \
-alias androiddebugkey \
-keypass android \
-keystore ~/.android/debug.keystore \
-storepass android \
-dname 'CN=Android Debug,O=Android,C=US' \
-keyalg 'RSA' \
-keysize 2048 \
-validity 10000
- |
# set up local properties
echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties"
- flutter packages pub get
- flutter build appbundle --release
artifacts:
- build/**/outputs/apk/**/*.apk
- build/**/outputs/bundle/**/*.aab
- build/**/outputs/**/mapping.txt
- '*.snap'
- build/windows/**/*.msix
- flutter_drive.log
publishing:
email:
recipients:
- [email protected]

0 comments on commit 851c3a6

Please sign in to comment.