diff --git a/php/ext/google/protobuf/package.xml b/php/ext/google/protobuf/package.xml index 9675d2be2344..a8648bfc5fc8 100644 --- a/php/ext/google/protobuf/package.xml +++ b/php/ext/google/protobuf/package.xml @@ -10,8 +10,8 @@ protobuf-opensource@google.com yes - 2022-03-15 - + 2022-03-18 + 3.20.0RC2 3.20.0 diff --git a/php/release.sh b/php/release.sh index 6b0baac78ff5..9a4b13912652 100755 --- a/php/release.sh +++ b/php/release.sh @@ -30,7 +30,11 @@ mv ../protobuf/composer.json composer.json sed -i 's|php/src|src|g' composer.json git add . git commit -m "$VERSION" -git tag "$VERSION" +if [ $(git tag -l "$VERSION") ]; then + echo "tag $VERSION already exists" +else + git tag "$VERSION" +fi popd # Clean up