From 80837267e7dcf687a44b362f078f5ceed690e87b Mon Sep 17 00:00:00 2001 From: Barney Laurance Date: Fri, 7 Jun 2019 12:46:53 +0100 Subject: [PATCH] Fix syntax error in travis deploy script This should resolve the build failure https://travis-ci.org/vimeo/psalm/jobs/542700463 --- bin/travis-deploy-phar.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/travis-deploy-phar.sh b/bin/travis-deploy-phar.sh index 3b3f835fd..b266171d4 100755 --- a/bin/travis-deploy-phar.sh +++ b/bin/travis-deploy-phar.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash set -e +shopt -s extglob # required for the rm -rf below git clone https://${GITHUB_TOKEN}@github.com/psalm/phar.git > /dev/null 2>&1 cd phar -rm -rf !(".git") +rm -rf -- !(".git") cp ../build/psalm.phar ../build/psalm.phar.asc ../assets/psalm-phar/* . mv dot-gitignore .gitignore git config user.email "travis@travis-ci.org"