Skip to content

Commit

Permalink
fix(javascript): set latest version on prereleases (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4138

Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Nov 20, 2024
1 parent dd1a23d commit 131510d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function publish(): Promise<void> {

// 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',
},
Expand Down

0 comments on commit 131510d

Please sign in to comment.