Fix PHP package.xml generation to generate correct github link to release notes using protoc_version formatted with -rcN instead of -rc-N.

Fixes https://github.com/protocolbuffers/protobuf/issues/18979

PiperOrigin-RevId: 690643390
pull/19012/head
Sandy Zhang 5 months ago committed by Copybara-Service
parent 654048b49e
commit 9e10b7c0ef
  1. 2
      php/ext/google/protobuf/generate_package_xml.sh

@ -37,5 +37,5 @@ sed -e "s;TEMPLATE_TIME;${time};" |
sed -e "s;TEMPLATE_PHP_RELEASE;${release_version};" |
sed -e "s;TEMPLATE_PHP_API;${api_version};" |
sed -e "s;TEMPLATE_PHP_STABILITY;${stability};g" |
sed -e "s;TEMPLATE_PROTOC_VERSION;${protoc_version};" |
sed -e "s;TEMPLATE_PROTOC_VERSION;${protoc_version//-rc-/-rc};" |
sed -e "s;TEMPLATE_FILES;${files};" > $out

Loading…
Cancel
Save