PR workflow
This commit is contained in:
parent
ede7a752c4
commit
192bfbe7aa
5 changed files with 205 additions and 38 deletions
|
|
@ -32,15 +32,7 @@ platform :android do
|
|||
lane :deployInternalFirebase do |options|
|
||||
release_notes = options[:release_notes]
|
||||
|
||||
gradle(task: 'clean', flags: "--no-daemon")
|
||||
gradle(
|
||||
task: 'assemble',
|
||||
build_type: 'release',
|
||||
flags: "--no-daemon",
|
||||
properties: {
|
||||
"applicationId" => "com.initproject.staging"
|
||||
}
|
||||
)
|
||||
buildReleaseApk()
|
||||
internal_apk = lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS].find{ |i| i[/app-*release*.apk/] }
|
||||
|
||||
firebase_app_distribution(
|
||||
|
|
@ -53,6 +45,18 @@ platform :android do
|
|||
)
|
||||
end
|
||||
|
||||
lane :buildReleaseApk do
|
||||
gradle(task: 'clean', flags: "--no-daemon")
|
||||
gradle(
|
||||
task: 'assemble',
|
||||
build_type: 'release',
|
||||
flags: "--no-daemon",
|
||||
properties: {
|
||||
"applicationId" => "com.initproject.staging"
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
desc "Submit a new Production Build to Play Store"
|
||||
lane :deployProdPlayStore do |options|
|
||||
version_code = options[:version_code] # optional, if not set, it gets the last from PlayStore then adds + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue