Skip to content

Commit 131510d

Browse files
fix(javascript): set latest version on prereleases (generated)
algolia/api-clients-automation#4138 Co-authored-by: Clément Vannicatte <[email protected]>
1 parent dd1a23d commit 131510d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function publish(): Promise<void> {
1111

1212
// publish the prereleases private packages
1313
await execaCommand(
14-
`yarn lerna exec --scope '@algolia/client-composition' --no-bail -- npm_config_registry=https://registry.npmjs.org/ npm publish --access private --tag alpha`,
14+
`yarn lerna exec --scope '@algolia/client-composition' --no-bail -- npm_config_registry=https://registry.npmjs.org/ npm publish --access private --tag alpha --tag latest`,
1515
{
1616
shell: 'bash',
1717
},

0 commit comments

Comments
 (0)