1
0
mirror of https://github.com/nodejs/docker-node.git synced 2025-04-18 17:04:01 +03:00

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:
Richard Lau 2024-07-26 16:16:03 +00:00
parent 844b019f6d
commit df91b7fbec
No known key found for this signature in database
GPG Key ID: C43CEC45C17AB93C

View File

@ -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