Folders in this directory are published to npm in the @bazel/ scoped package.
Run /scripts/mirror_bazel.sh
to fetch a Bazel release and populate the bazel-*
packages. The script will also update the package.json
files and publish to npm.
Similarly, for a release of bazelbuild/buildtools, run the /scripts/mirror_buildtools.sh
script.
The script relies on the excellent jq tool, which you'll need to install if you don't have it already.
Login to npm using the angular
account. The password is shared in http://valentine.
When adding a new package, you'll need to add the package explicitly to:
/scripts/packages.sh
: Add your package name to the list of packages to used for scripts.