chore: fix `update-keys.sh` for current `README.md`
The `update-keys.sh` script needed updating to account for: * Node.js HEAD branch is now `main` * Comments added to each line in the key list
This commit is contained in:
parent
844b019f6d
commit
df91b7fbec
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
curl -fsSLo- --compressed https://github.com/nodejs/node/raw/master/README.md | awk '/^gpg --keyserver hkps:\/\/keys\.openpgp\.org --recv-keys/ {print $NF}' > keys/node.keys
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue