Skip to content

Commit

Permalink
ci: Fix gpg key output path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Aug 9, 2018
1 parent c0e7231 commit 1d1a4e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
/coverage/
/.nyc_output/
/*.tgz
git_gpg_keys.asc
/git_gpg_keys.asc
Binary file modified git_gpg_keys.asc.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion prepare-gpg-key.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

openssl aes-256-cbc -K $encrypted_4e5a3cbd1d98_key -iv $encrypted_4e5a3cbd1d98_iv -in git_gpg_keys.asc.enc -out git_gpg_keys.asc -d
openssl aes-256-cbc -K $encrypted_4e5a3cbd1d98_key -iv $encrypted_4e5a3cbd1d98_iv -in git_gpg_keys.asc.enc -out /tmp/gpg-with-passphrase -d
chmod 600 /tmp/git_gpg_keys.asc
gpg --batch --yes --import /tmp/git_gpg_keys.asc
echo '/usr/bin/gpg2 --passphrase ${GPG_PASSPHRASE} --batch --no-tty "$@"' > /tmp/gpg-with-passphrase && chmod +x /tmp/gpg-with-passphrase
Expand Down

0 comments on commit 1d1a4e1

Please sign in to comment.