From ab10b082e52bc960851e78fff0df1e34a324dcbc Mon Sep 17 00:00:00 2001 From: Wojciech Kozyra Date: Tue, 2 Mar 2021 10:52:19 +0100 Subject: [PATCH] [eas-cli] fix submit with tar.gz files (#257) * [eas-cli] fix submit with tar.gz files * [eas-cli] update CHANGELOG.md --- CHANGELOG.md | 1 + packages/eas-cli/src/submissions/utils/files.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5b079ba98..6884db41a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This is the log of notable changes to EAS CLI and related packages. ### ๐Ÿ› Bug fixes - Make sure all files are committed before build. ([#251](https://github.com/expo/eas-cli/pull/251) by [@wkozyra95](https://github.com/wkozyra95)) +- Fix `eas submit` support for tar.gz files. ([#257](https://github.com/expo/eas-cli/pull/257)) by [@wkozyra95](https://github.com/wkozyra95)) - Show untracked files when checking `git status`. ([#259](https://github.com/expo/eas-cli/pull/259) by [@wkozyra95](https://github.com/wkozyra95)) ### ๐Ÿงน Chores diff --git a/packages/eas-cli/src/submissions/utils/files.ts b/packages/eas-cli/src/submissions/utils/files.ts index 8e68823adc..f3ef22c5e7 100644 --- a/packages/eas-cli/src/submissions/utils/files.ts +++ b/packages/eas-cli/src/submissions/utils/files.ts @@ -26,7 +26,7 @@ async function moveFileOfTypeAsync( extension: string, dest: string ): Promise { - const [matching] = await glob(`*.${extension}`, { + const [matching] = await glob(`**/*.${extension}`, { absolute: true, cwd: directory, });