mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
CB-9185 Fix signed release build exception. This closes #193.
This commit is contained in:
parent
6b071c0fb2
commit
f93c2b161d
2
bin/templates/cordova/lib/build.js
vendored
2
bin/templates/cordova/lib/build.js
vendored
@ -74,7 +74,7 @@ function findOutputApksHelper(dir, build_type, arch) {
|
|||||||
return /-debug/.exec(candidate) && !/-unaligned|-unsigned/.exec(candidate);
|
return /-debug/.exec(candidate) && !/-unaligned|-unsigned/.exec(candidate);
|
||||||
}
|
}
|
||||||
if (build_type === 'release') {
|
if (build_type === 'release') {
|
||||||
return /-release/.exec(candidate) && !/-unaligned/.exec(candidate);
|
return /-release/.exec(candidate) && !/-unaligned|-unsigned/.exec(candidate);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user