1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/bin/build-phar.sh
2019-06-07 06:52:07 -04:00

14 lines
328 B
Bash
Executable File

#!/usr/bin/env bash
set -e
composer bin box install
vendor/bin/box compile
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