1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
psalm/bin/build-phar.sh

11 lines
319 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-04-08 18:36:29 +02:00
composer bin box install
2018-03-11 17:35:46 +01:00
2018-04-08 18:36:29 +02:00
vendor/bin/box compile
2018-03-11 17:35:46 +01:00
if [[ "$GPG_ENCRYPTION" != '' ]] ; then
echo $GPG_ENCRYPTION | gpg --passphrase-fd 0 keys.asc.gpg
gpg --batch --yes --import keys.asc
echo $SIGNING_KEY | gpg --passphrase-fd 0 -u 8A03EA3B385DBAA1 --armor --detach-sig build/psalm.phar
fi