From 131510d12f52ef318f4f6d2cce28d38a8e9e3424 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Wed, 20 Nov 2024 13:39:37 +0000 Subject: [PATCH] fix(javascript): set latest version on prereleases (generated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/algolia/api-clients-automation/pull/4138 Co-authored-by: Clément Vannicatte --- scripts/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.ts b/scripts/publish.ts index c71516482..c879ab317 100755 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -11,7 +11,7 @@ async function publish(): Promise { // publish the prereleases private packages await execaCommand( - `yarn lerna exec --scope '@algolia/client-composition' --no-bail -- npm_config_registry=https://registry.npmjs.org/ npm publish --access private --tag alpha`, + `yarn lerna exec --scope '@algolia/client-composition' --no-bail -- npm_config_registry=https://registry.npmjs.org/ npm publish --access private --tag alpha --tag latest`, { shell: 'bash', },