Compare commits

...
5 changed files with 16 additions and 1 deletions

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
- Update iOS and Android tarballs for SDK 44 beta.
- Add detection for Expo modules using `expo-module.config.json`, the successor to `unimodule.json`. [#368](https://github.com/expo/turtle/pull/368).
# [0.23.5] - 2021-11-12
- Update iOS SDK 43 tarball with expo-updates fix for [#14967](https://github.com/expo/expo/issues/14967)
+1
View File
@@ -0,0 +1 @@
s3://exp-artifacts/android-shell-builder-a794c346fcded066decb0b0554655edc5c6594a6.tar.gz
+1
View File
@@ -0,0 +1 @@
s3://exp-artifacts/ios-shell-builder-sdk-latest-a794c346fcded066decb0b0554655edc5c6594a6.tar.gz
+8
View File
@@ -17,7 +17,15 @@ import config from 'turtle/config';
import { IAndroidCredentials, IJob, IJobResult } from 'turtle/job';
import logger from 'turtle/logger';
// temporary solution until we can rebuild shellapps
const blockGoogleBintrayAsync = _.once(async () => {
if (config.builder.mode === 'online') {
await fs.appendFile('/etc/hosts', '\n127.0.0.1\tdl.bintray.com\n127.0.0.1\tgoogle.bintray.com\n');
}
});
export default async function buildAndroid(jobData: IJob): Promise<IJobResult> {
await blockGoogleBintrayAsync();
await ensureCanBuildSdkVersion(jobData);
const credentials = await getOrCreateCredentials(jobData);
const outputFilePath = await runShellAppBuilder(jobData, credentials);
+3 -1
View File
@@ -209,7 +209,9 @@ async function getPackage(
const pkgPath = path.join(workingdir, 'packages', pkgName);
const isAndroid = await fs.pathExists(path.join(pkgPath, 'android'));
const isIos = await fs.pathExists(path.join(pkgPath, 'ios'));
const isUnimodule = await fs.pathExists(path.join(pkgPath, 'unimodule.json'));
const isUnimodule =
(await fs.pathExists(path.join(pkgPath, 'unimodule.json'))) ||
(await fs.pathExists(path.join(pkgPath, 'expo-module.config.json')));
const hasPackageJson = await fs.pathExists(
path.join(pkgPath, 'package.json'),
);