Commit 41d0c803 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fix build pipeline

parent 7fce221f
...@@ -80,33 +80,17 @@ android { ...@@ -80,33 +80,17 @@ android {
} }
} }
} }
//
// applicationVariants.all { variant ->
// variant.outputs.all {
// outputFileName = new File(keystoreProperties['outputFolder'])
// }
// }
task copyReleaseBundle(type: Copy) {
from 'build\\outputs\\bundle\\release'
into '..' // folder above the app folder
include '**/*release.aab'
}
task renameBundle(type: Copy) { task renameBundle(type: Copy) {
from "$buildDir/outputs/bundle/release" from "$buildDir/outputs/bundle/release"
into "../../" into "../../"
rename 'app-release.aab', "roomParkBundle.aab" String name = findProperty('newBundleName')
rename 'app-release.aab', "${name}.aab"
} }
task publishRelease(type: GradleBuild) { task publishRelease(type: GradleBuild) {
tasks = ['bundleRelease', 'renameBundle'] tasks = ['bundleRelease']
}
afterEvaluate {
packageRelease.finalizedBy(copyReleaseBundle)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment