diff --git a/php/ext/google/protobuf/package.xml b/php/ext/google/protobuf/package.xml index 9675d2be23..a8648bfc5f 100644 --- a/php/ext/google/protobuf/package.xml +++ b/php/ext/google/protobuf/package.xml @@ -10,8 +10,8 @@ <email>protobuf-opensource@google.com</email> <active>yes</active> </lead> - <date>2022-03-15</date> - <time>21:10:15</time> + <date>2022-03-18</date> + <time>11:10:15</time> <version> <release>3.20.0RC2</release> <api>3.20.0</api> diff --git a/php/release.sh b/php/release.sh index 6b0baac78f..9a4b139126 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