mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +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 {
|
} else {
|
||||||
ret.packageType = packageArgs.packageType;
|
ret.packageType = packageArgs.packageType;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (ret.buildType === 'release') {
|
||||||
|
ret.packageType = PackageType.BUNDLE;
|
||||||
} else {
|
} else {
|
||||||
ret.packageType = PackageType.APK;
|
ret.packageType = PackageType.APK;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user