From 2aac144b89284dc1c9f6f31b4c9504deac40e573 Mon Sep 17 00:00:00 2001 From: Ankur Jain Date: Fri, 26 Jul 2024 17:02:22 -0700 Subject: [PATCH] Dont save submission details for alpha app release. --- packages/cli/src/commands/publish/PublishCliSubmit.ts | 10 ++++++---- packages/cli/src/commands/publish/PublishCliUpdate.ts | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/cli/src/commands/publish/PublishCliSubmit.ts b/packages/cli/src/commands/publish/PublishCliSubmit.ts index 590c301..2b30b40 100644 --- a/packages/cli/src/commands/publish/PublishCliSubmit.ts +++ b/packages/cli/src/commands/publish/PublishCliSubmit.ts @@ -85,8 +85,10 @@ export const publishSubmitCommand = async ({ dryRun ); - await writeToPublishDetails( - { - lastUpdatedVersionOnStore: { address: releaseAddr } - }); + if (!alphaTest) { + await writeToPublishDetails( + { + lastUpdatedVersionOnStore: { address: releaseAddr } + }); + } }; diff --git a/packages/cli/src/commands/publish/PublishCliUpdate.ts b/packages/cli/src/commands/publish/PublishCliUpdate.ts index d5bb4b4..533ec7e 100644 --- a/packages/cli/src/commands/publish/PublishCliUpdate.ts +++ b/packages/cli/src/commands/publish/PublishCliUpdate.ts @@ -93,8 +93,10 @@ export const publishUpdateCommand = async ({ }, dryRun ); - await writeToPublishDetails( - { - lastUpdatedVersionOnStore: { address: releaseAddr } - }); + if (!alphaTest) { + await writeToPublishDetails( + { + lastUpdatedVersionOnStore: { address: releaseAddr } + }); + } };