-
Notifications
You must be signed in to change notification settings - Fork 2k
Add WebGPU to the release script #6209
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
Add WebGPU to the release script #6209
Conversation
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.
Thank you!
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.
Thank you Matt!
Reviewable status:
complete! 2 of 1 approvals obtained
Thanks Matt for integrating WebGPU into monorepo release. This is very meaningful for us! |
\tensorflow#6209 made the release script overwrite every dependency in the set of packages being published. This causes tfjs-core's verdaccio tests to fail because tfjs-core has a devDependency on tfjs-backend-cpu, but core needs to be published before cpu. This PR reverts to the original behavior of overwriting dependency versions in the package.json only if they are listed in a given release phase's dependencies.
* In release, replace only packages marked as deps \#6209 made the release script overwrite every dependency in the set of packages being published. This causes tfjs-core's verdaccio tests to fail because tfjs-core has a devDependency on tfjs-backend-cpu, but core needs to be published before cpu. This PR reverts to the original behavior of overwriting dependency versions in the package.json only if they are listed in a given release phase's dependencies. * Remove update-dependency.ts from e2e
Allow alpha packages that are part of the monorepo to be published alongside the monorepo with a different version number than the monorepo's version number. Add WebGPU as an alpha package.
Running
yarn release-tfjs
produces the following output. Since tfjs-backend-webgpu is an alpha package, the release script asks the user what version it should have.This produces the following PR: #6208.
Alpha packages can be added to the ALPHA_RELEASE_UNIT in release-util.ts.
To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
This change is