Merge pull request #9650 from esorot/php-release-fix

update PHP release to not fail on existing tag
pull/9651/head
Theodore Rose 3 years ago committed by GitHub
commit 2099298e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      php/ext/google/protobuf/package.xml
  2. 6
      php/release.sh

@ -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>

@ -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

Loading…
Cancel
Save