File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ gzip <$ARCHIVE_TMP >$ARCHIVE
4444SHA=$( shasum -a 256 $ARCHIVE | awk ' {print $1}' )
4545
4646# Add generated API docs to the release, see https://github.com/bazelbuild/bazel-central-registry/issues/5593
47- docs=" $( mktemp -d) "
48- bazel --output_base=" $docs " query --output=label ' kind("starlark_doc_extract rule", //...)' \
49- | xargs bazel --output_base=" $docs " build --remote_download_regex=' .*doc_extract\.binaryproto'
47+ docs=" $( mktemp -d) " ; targets= " $( mktemp ) "
48+ bazel --output_base=" $docs " query --output=label --output_file= " $targets " ' kind("starlark_doc_extract rule", //...)'
49+ bazel --output_base=" $docs " build --target_pattern_file= " $targets " --remote_download_regex=' .*doc_extract\.binaryproto'
5050tar --create --auto-compress \
5151 --directory " $( bazel --output_base=" $docs " info bazel-bin) " \
5252 --file " $GITHUB_WORKSPACE /${ARCHIVE% .tar.gz} .docs.tar.gz" .
You can’t perform that action at this time.
0 commit comments