Skip to content

Commit

Permalink
Add expoCli parameter. (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomhajile authored May 14, 2021
1 parent f4e396d commit 2975a02
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This is the log of notable changes to EAS CLI and related packages.
- Auto sync associated domains capability before building. ([#384](https://github.com/expo/eas-cli/pull/384) by [@EvanBacon](https://github.com/EvanBacon))
- Add eas init command. [#402](https://github.com/expo/eas-cli/pull/402) by [@jkhales](https://github.com/jkhales))
- Allow for arbitrary string values in `schemeBuildConfiguration`. ([#394](https://github.com/expo/eas-cli/pull/394) by [@randomhajile](https://github.com/randomhajile))
- Allow for installing custom `expo-cli` version on EAS Build. ([#409](https://github.com/expo/eas-cli/pull/409) by [@randomhajile](https://github.com/randomhajile))

### 🐛 Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion packages/eas-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@expo/apple-utils": "0.0.0-alpha.19",
"@expo/config": "3.3.19",
"@expo/config-plugins": "1.0.24",
"@expo/eas-build-job": "0.2.31",
"@expo/eas-build-job": "0.2.32",
"@expo/eas-json": "0.14.0",
"@expo/json-file": "8.2.25",
"@expo/pkcs12": "0.0.4",
Expand Down
1 change: 1 addition & 0 deletions packages/eas-cli/src/build/android/prepareJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ async function prepareJobCommonAsync(
node: ctx.buildProfile.node,
yarn: ctx.buildProfile.yarn,
ndk: ctx.buildProfile.ndk,
expoCli: ctx.buildProfile.expoCli,
env: ctx.buildProfile.env,
},
cache: {
Expand Down
1 change: 1 addition & 0 deletions packages/eas-cli/src/build/ios/prepareJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ async function prepareJobCommonAsync(
bundler: ctx.buildProfile.bundler,
cocoapods: ctx.buildProfile.cocoapods,
fastlane: ctx.buildProfile.fastlane,
expoCli: ctx.buildProfile.expoCli,
env: ctx.buildProfile.env,
},
cache: {
Expand Down
2 changes: 1 addition & 1 deletion packages/eas-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Expo <support@expo.io>",
"bugs": "https://github.com/expo/eas-cli/issues",
"dependencies": {
"@expo/eas-build-job": "0.2.31",
"@expo/eas-build-job": "0.2.32",
"@hapi/joi": "17.1.1",
"fs-extra": "9.0.1",
"tslib": "1.14.1"
Expand Down
2 changes: 2 additions & 0 deletions packages/eas-json/src/EasJsonSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const AndroidBuilderEnvironmentSchema = Joi.object({
node: Joi.string().empty(null).custom(semverSchemaCheck),
yarn: Joi.string().empty(null).custom(semverSchemaCheck),
ndk: Joi.string().empty(null).custom(semverSchemaCheck),
expoCli: Joi.string().empty(null).custom(semverSchemaCheck),
env: Joi.object().pattern(Joi.string(), Joi.string().empty(null)).default({}),
});

Expand All @@ -28,6 +29,7 @@ const IosBuilderEnvironmentSchema = Joi.object({
bundler: Joi.string().empty(null).custom(semverSchemaCheck),
fastlane: Joi.string().empty(null).custom(semverSchemaCheck),
cocoapods: Joi.string().empty(null).custom(semverSchemaCheck),
expoCli: Joi.string().empty(null).custom(semverSchemaCheck),
env: Joi.object().pattern(Joi.string(), Joi.string().empty(null)).default({}),
});

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1183,10 +1183,10 @@
xcode "^3.0.0"
xml-js "^1.6.11"

"@expo/eas-build-job@0.2.31":
version "0.2.31"
resolved "https://registry.yarnpkg.com/@expo/eas-build-job/-/eas-build-job-0.2.31.tgz#151a68d6262a9b62cd0f1cab903c1583e389445e"
integrity sha512-JJRC+c5PGmBuB9Q/r6dEDa64xWdsI43v+dmhDuSlRbH2ItwaWfh+oKwedw9SeekTvveDwY9diNIGdjoba8dbfA==
"@expo/eas-build-job@0.2.32":
version "0.2.32"
resolved "https://registry.yarnpkg.com/@expo/eas-build-job/-/eas-build-job-0.2.32.tgz#69ef0a15145e49cf4c24503568bdc28b4cbed58e"
integrity sha512-7skgicB5Voc1932NHcomCHUyW1xOnqttzEmRcdEj2v3AukIH8a13rj0JLdpyhjmuXAwoHKuHUH7PQRuivwKO3Q==
dependencies:
"@hapi/joi" "^17.1.1"

Expand Down

0 comments on commit 2975a02

Please sign in to comment.