1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Don't push master

This commit is contained in:
Matthew Brown 2021-02-11 14:06:10 -05:00 committed by GitHub
parent 6ff2ddf46c
commit ff689ccb0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ git add --all .
git commit -m "Updated Psalm phar to commit ${GITHUB_SHA}"
git push --quiet origin master > /dev/null 2>&1
if [[ "$GITHUB_REF" != '' ]] ; then
if [[ "$GITHUB_REF" != '' && "$GITHUB_REF" != 'refs/heads/master' ]] ; then
git tag "$GITHUB_REF"
git push origin "$GITHUB_REF"
fi