mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
feat(continuous-deploy-fingerprint): added platform arg to eas update command (#319)
This commit is contained in:
1 parent
8108b8660b
commit
332258e32f
1 file changed
+4
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user