1
0
mirror of https://github.com/nodejs/docker-node.git synced 2025-04-18 17:04:01 +03:00
nodejs/update-keys.sh
Richard Lau df91b7fbec
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
2024-07-26 16:16:03 +00:00

4 lines
191 B
Bash
Executable File

#!/bin/sh -ex
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