|
50 | 50 | lane :build_and_upload_pre_releases do |options| |
51 | 51 | android_build_prechecks( |
52 | 52 | skip_confirm: options[:skip_confirm], |
53 | | - alpha: true, |
| 53 | + alpha: false, |
54 | 54 | beta: true, |
55 | 55 | final: false |
56 | 56 | ) |
57 | 57 | android_build_preflight() unless options[:skip_prechecks] |
58 | 58 | app = get_app_name_option!(options) |
59 | | - build_alpha(app: app, skip_prechecks: true, skip_confirm: options[:skip_confirm], upload_to_play_store: true, create_release: options[:create_release]) |
60 | 59 | build_beta(app: app, skip_prechecks: true, skip_confirm: options[:skip_confirm], upload_to_play_store: true, create_release: options[:create_release]) |
61 | 60 | end |
62 | 61 |
|
63 | | - ##################################################################################### |
64 | | - # build_alpha |
65 | | - # ----------------------------------------------------------------------------------- |
66 | | - # This lane builds the app for internal testing and optionally uploads it |
67 | | - # ----------------------------------------------------------------------------------- |
68 | | - # Usage: |
69 | | - # bundle exec fastlane build_alpha app:<wordpress|jetpack> [skip_confirm:<true|false>] [upload_to_play_store:<true|false>] [create_release:<true|false>] |
70 | | - # |
71 | | - # Example: |
72 | | - # bundle exec fastlane build_alpha app:wordpress create_release:true |
73 | | - # bundle exec fastlane build_alpha app:wordpress skip_confirm:true upload_to_play_store:true |
74 | | - # bundle exec fastlane build_alpha app:jetpack |
75 | | - ##################################################################################### |
76 | | - desc 'Builds and updates for distribution' |
77 | | - lane :build_alpha do |options| |
78 | | - android_build_prechecks(skip_confirm: options[:skip_confirm], alpha: true) unless options[:skip_prechecks] |
79 | | - android_build_preflight() unless options[:skip_prechecks] |
80 | | - |
81 | | - # Create the file names |
82 | | - app = get_app_name_option!(options) |
83 | | - version = android_get_alpha_version() |
84 | | - build_bundle(app: app, version: version, flavor: 'Zalpha', buildType: 'Release') |
85 | | - |
86 | | - upload_build_to_play_store(app: app, version: version, track: 'alpha') if options[:upload_to_play_store] |
87 | | - |
88 | | - create_gh_release(app: app, version: version, prerelease: true) if options[:create_release] |
89 | | - end |
90 | | - |
91 | 62 | ##################################################################################### |
92 | 63 | # build_beta |
93 | 64 | # ----------------------------------------------------------------------------------- |
|
116 | 87 | create_gh_release(app: app, version: version, prerelease: true) if options[:create_release] |
117 | 88 | end |
118 | 89 |
|
119 | | - ##################################################################################### |
120 | | - # build_internal |
121 | | - # ----------------------------------------------------------------------------------- |
122 | | - # This lane builds the app for restricted internal testing, and optionally uploads it to PlayStore's Internal track |
123 | | - # ----------------------------------------------------------------------------------- |
124 | | - # Usage: |
125 | | - # bundle exec fastlane build_internal app:<wordpress|jetpack> [skip_confirm:<true|false>] [upload_to_play_store:<true|false>] [create_release:<true|false>] |
126 | | - # |
127 | | - # Example: |
128 | | - # bundle exec fastlane build_internal app:wordpress |
129 | | - # bundle exec fastlane build_internal app:wordpress skip_confirm:true upload_to_play_store:true |
130 | | - # bundle exec fastlane build_internal app:jetpack create_release:true |
131 | | - ##################################################################################### |
132 | | - desc 'Builds and updates for internal testing' |
133 | | - lane :build_internal do |options| |
134 | | - android_build_prechecks(skip_confirm: options[:skip_confirm]) unless options[:skip_prechecks] |
135 | | - android_build_preflight() unless options[:skip_prechecks] |
136 | | - |
137 | | - # Create the file names |
138 | | - app = get_app_name_option!(options) |
139 | | - version = android_get_release_version() |
140 | | - build_bundle(app: app, version: version, flavor: 'Zalpha', buildType: 'Debug') |
141 | | - |
142 | | - upload_build_to_play_store(app: app, version: version, track: 'internal') if options[:upload_to_play_store] |
143 | | - |
144 | | - create_gh_release(app: app, version: version, prerelease: true) if options[:create_release] |
145 | | - end |
146 | | - |
147 | 90 | ##################################################################################### |
148 | 91 | # upload_build_to_play_store |
149 | 92 | # ----------------------------------------------------------------------------------- |
|
0 commit comments