Skip to content

Commit 75000f3

Browse files
committed
chore: pull Releaser keys from keyring instead of README
1 parent b8bb0a1 commit 75000f3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/node-keys.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- keys/node.keys
7+
- update-keys.sh
78
- .github/workflows/node-keys.yml
89

910
permissions:

‎update-keys.sh‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/sh -ex
22

3-
curl -fsSLo- --compressed https://github.com/nodejs/node/raw/main/README.md | awk '/--recv-keys.*#/{ gsub(/^.*--recv-keys\s+/,"");gsub(/\s+#.*$/,""); print }' > keys/node.keys
3+
curl -fsSLO --compressed "https://github.com/nodejs/release-keys/raw/refs/heads/main/gpg-only-active-keys/pubring.kbx"
4+
5+
gpg --no-default-keyring --keyring "./pubring.kbx" --keyid-format long --with-colons --fingerprint | awk -F: '/^pub:.*/ { getline; print $10}' > keys/node.keys
6+
7+
rm pubring.kbx

0 commit comments

Comments
 (0)