Skip to content

Commit

Permalink
Maybe fix gpg config?
Browse files Browse the repository at this point in the history
  • Loading branch information
Deraen committed Mar 28, 2018
1 parent 35ece75 commit c75654b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion circle.yml
Expand Up @@ -25,6 +25,5 @@ jobs:
- ~/cljsjs/closure-compiler.jar
environment:
BOOT_JVM_OPTIONS: "-Xms512m -Xmx1024m"
BOOT_GPG_COMMAND: "gpg --batch --yes"
NPM_CONFIG_LOGLEVEL: warn
NPM_CONFIG_UNSAFE_PERMS: true
4 changes: 2 additions & 2 deletions setup_gpg.sh
Expand Up @@ -6,9 +6,9 @@ set -e
if [[ $CIRCLE_BRANCH == "master" ]]; then
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
echo -e "default-key cljsjs.robot@gmail.com\npassphrase $GPG_PASSPHRASE" >> ~/.gnupg/gpg.conf
echo -e "batch\nyes\ndefault-key cljsjs.robot@gmail.com\npassphrase $GPG_PASSPHRASE" >> ~/.gnupg/gpg.conf
# CircleCI doesn't support newlines in vars so newlines are coded as "|"
echo -e "$GPG_KEY" | tr "|" "\n" > gpg.key
gpg --batch --yes --allow-secret-key-import --import gpg.key
gpg --allow-secret-key-import --import gpg.key
rm gpg.key
fi

0 comments on commit c75654b

Please sign in to comment.