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:
parent
6ff2ddf46c
commit
ff689ccb0b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user