cleanups, formatting

pull/10830/head
Sandy Zhang 2 years ago
parent 89035d5f17
commit 33e9928e69
  1. 7
      BUILD.bazel
  2. 9
      php/ext/google/protobuf/BUILD.bazel
  3. 2
      protobuf_version.bzl

@ -578,10 +578,3 @@ pkg_files(
],
visibility = ["//pkg:__pkg__"],
)
# Version JSON file for release
filegroup(
name = "version_json",
srcs = ["version.json"],
visibility=["//visibility:public"],
)

@ -6,11 +6,6 @@ load("@rules_pkg//:pkg.bzl", "pkg_tar")
package(default_visibility = ["//php:__subpackages__"])
filegroup(
name = "template_package_xml",
srcs = ["template_package.xml"],
)
pkg_files(
name = "utf8_range_files",
srcs = [
@ -56,12 +51,12 @@ genrule(
name = "generate_package_xml",
srcs = [
":release_without_package",
":template_package_xml",
"template_package.xml",
],
outs = ["package.xml"],
cmd = " ".join([
"$(location :generate_package_xml.sh)",
"$(location :template_package_xml)",
"$(location template_package.xml)",
PROTOBUF_PHP_VERSION,
"$$(tar -tf $(location :release_without_package) | sed -z -e 's;\\n;,;g')",
"$(location package.xml)"

@ -1,4 +1,4 @@
PROTOC_VERSION = "21.9"
PROTOBUF_JAVA_VERSION = "3.21.9"
PROTOBUF_PYTHON_VERSION = "4.21.9"
PROTOBUF_PHP_VERSION = "3.21.9"
PROTOBUF_PHP_VERSION = "3.21.9"

Loading…
Cancel
Save