Skip to content

Commit 413bee2

Browse files
committed
Updated config.yml
1 parent ca47046 commit 413bee2

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.circleci/config.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,6 @@ jobs:
9898
steps:
9999
- setup_remote_docker
100100
- checkout
101-
- run:
102-
name: echo GPG Key
103-
command: |
104-
echo -e "$GPG_PRIVATE_KEY"
105-
- run:
106-
name: Import GPG Key
107-
command: |
108-
echo -e "$GPG_PRIVATE_KEY" | gpg --import
109-
echo -e "trust\n5\ny\n" | gpg --command-fd 0 --edit-key 4C19E4CC17E67B7B
110-
- run:
111-
name: Configure Git for Signing
112-
command: |
113-
git config --global user.signingkey 4C19E4CC17E67B7B
114-
git config --global commit.gpgSign true
115101
- run:
116102
name: "Create build branch"
117103
command: |
@@ -266,15 +252,11 @@ jobs:
266252
steps:
267253
- setup_remote_docker
268254
- checkout
269-
- run:
270-
name: echo GPG Key
271-
command: |
272-
echo "$GPG_PRIVATE_KEY"
273255
- run:
274256
name: Import GPG Key
275257
command: |
276-
echo "$GPG_PRIVATE_KEY" | gpg --import
277-
echo "" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --edit-key 4C19E4CC17E67B7B trust quit
258+
echo -e "$GPG_PRIVATE_KEY" | gpg --import
259+
echo -e "trust\n5\ny\n" | gpg --command-fd 0 --edit-key 4C19E4CC17E67B7B
278260
- run:
279261
name: Configure Git for Signing
280262
command: |

0 commit comments

Comments
 (0)