mirror of
https://github.com/expo/turtle.git
synced 2026-11-14 19:12:55 -10:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3a63f4202 | ||
|
|
22ca179854 | ||
|
|
9cd489a297 | ||
|
|
06f10977aa |
No files matched your search
@@ -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)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
s3://exp-artifacts/android-shell-builder-a794c346fcded066decb0b0554655edc5c6594a6.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
s3://exp-artifacts/ios-shell-builder-sdk-latest-a794c346fcded066decb0b0554655edc5c6594a6.tar.gz
|
||||
@@ -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);
|
||||
|
||||
@@ -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'),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user