Skip to content

Commit c5dc037

Browse files
committed
PHAR compiling - do not overwrite phpstan file
1 parent f31ee7c commit c5dc037

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ jobs:
3131
GIT_LOG=$(git log ${TRAVIS_COMMIT_RANGE} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/phpstan\/phpstan-src\/commit\//') && \
3232
git clone https://${GITHUB_TOKEN}@github.com/phpstan/phpstan.git phpstan-dist > /dev/null 2>&1 && \
3333
cp tmp/phpstan.phar phpstan-dist/phpstan.phar && \
34-
cp tmp/phpstan.phar phpstan-dist/phpstan && \
3534
cd phpstan-dist && \
3635
git config user.email "[email protected]" && \
3736
git config user.name "Ondrej Mirtes" && \
3837
git config --global user.signingkey CF1A108D0E7AE720 && \
3938
rm phpstan.phar.asc && \
4039
gpg --batch -ab phpstan.phar && \
4140
gpg --verify phpstan.phar.asc && \
42-
git add phpstan phpstan.phar phpstan.phar.asc
41+
git add phpstan.phar phpstan.phar.asc
4342
4443
if [ "${TRAVIS_TAG}" != "" ]; then
4544
COMMIT_MSG="PHPStan ${TRAVIS_TAG}"

0 commit comments

Comments
 (0)