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 } + }); + } };