feat(continuous-deploy-fingerprint): added platform arg to eas update command (#319)

This commit is contained in:
Charaf Rezrazi authored and GitHub committed 2025-01-11 10:00:36 -08:00
1 parent 8108b8660b
commit 332258e32f
1 file changed
+4 -1
+4 -1
View File
@@ -71,6 +71,7 @@ export async function continuousDeployFingerprintAction(
const updates = await publishEASUpdatesAsync({
cwd: input.workingDirectory,
branch: input.branch,
platform: input.platform,
});
if (!isInPullRequest) {
@@ -293,15 +294,17 @@ async function createEASBuildAsync({
async function publishEASUpdatesAsync({
cwd,
branch,
platform = 'all',
}: {
cwd: string;
branch: string;
platform: PlatformArg;
}): Promise<EasUpdate[]> {
let stdout: string;
try {
const execOutput = await getExecOutput(
await which('eas', true),
['update', '--auto', '--branch', branch, '--non-interactive', '--json'],
['update', '--auto', '--branch', branch, '--platform', platform, '--non-interactive', '--json'],
{
cwd,
silent: !isDebug(),