mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 09:02:50 +08:00
feat!: release build defaults to aab package type (#1268)
This commit is contained in:
parent
1f0ea173b0
commit
f6d1deeff6
4
bin/templates/cordova/lib/build.js
vendored
4
bin/templates/cordova/lib/build.js
vendored
@ -129,9 +129,13 @@ function parseOpts (options, resolvedTarget, projectRoot) {
|
||||
} else {
|
||||
ret.packageType = packageArgs.packageType;
|
||||
}
|
||||
} else {
|
||||
if (ret.buildType === 'release') {
|
||||
ret.packageType = PackageType.BUNDLE;
|
||||
} else {
|
||||
ret.packageType = PackageType.APK;
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user