-
Notifications
You must be signed in to change notification settings - Fork 21
fix(scripts): dart and js releases [skip-bc] #4104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
No code generatedIf you believe code should've been generated, please, report the issue. 📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
scripts/release/dart.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing changed here, just moved the code
if (lang === 'javascript' && releaseType) { | ||
setVerbose(CI); | ||
await run(`yarn install && yarn release:bump ${releaseType}`, { | ||
cwd: getLanguageFolder(lang), | ||
}); | ||
await updateJavaScriptPackages(releaseType); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
except the code move, this was the only change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gg
algolia/api-clients-automation#4104 Co-authored-by: Clément Vannicatte <[email protected]>
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3212
Changes included:
undefined
versions of dartlerna
for version bumping as it doesn't support mixed package stage (stable and pre-release) bumps nor filtering on package bumps (e.g. bumping stable then bumping pre-releases with different release type)lerna
then useyarn
directly to bump the version based on thereleaseType
also move dart and js custom logic to their own file because it became a mess in that release script file
Test:
run
yarn cli release -b -d
and see dart properly bumped, javascript as well