File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Automatically generated on 2022-10-18 UTC from https://codemagic.io/app/634b9fd922ff8dc8a5ba7c19/settings
2
+ # Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.
3
+
1
4
workflows :
2
5
ani-workflow :
3
6
name : Ani Mobile Workflow
4
7
max_build_duration : 120
5
8
environment :
9
+ groups :
10
+ - Github
6
11
flutter : 3.3.4
7
12
xcode : latest
8
13
cocoapods : default
@@ -25,10 +30,26 @@ workflows:
25
30
- flutter build ios --release --no-codesign
26
31
- flutter build apk --release --split-per-abi
27
32
- flutter build appbundle
33
+ - name : Publish to Github
34
+ script : |
35
+ #!/usr/bin/env zsh
36
+
37
+ # Publish only for tag builds
38
+ if [ -z ${CM_TAG} ]; then
39
+ echo "Not a tag build, will not publish GitHub release"
40
+ exit 0
41
+ fi
42
+
43
+ gh release create "${CM_TAG}" \
44
+ --title "<Your Application Name> ${CM_TAG}" \
45
+ --notes-file changelog.md \
46
+ build/ios/iphoneos/Runner.app \
47
+ build/app/outputs/bundle/release/app-release.aab
48
+ build/app/outputs/apk/release/*.apk
28
49
artifacts :
29
- - build/ios/iphoneos/Runner.app
30
- - build/app/outputs/bundle/release/app-release.aab
31
- - build/app/outputs/ apk/release/*.apk
50
+ - build/ios/ipa/*.ipa
51
+ - build/android/apk/*.apk
52
+ - build/android/ apk/*.aab
32
53
publishing :
33
54
email :
34
55
recipients :
You can’t perform that action at this time.
0 commit comments