Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! tools: filter release keys to reduce interactivity
  • Loading branch information
aduh95 committed Nov 21, 2024
commit b5cd6f5988d882bc039db398924871012226bfff
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ echo "# Selecting GPG key ..."
if [ -z "$allPGPKeys" ]; then
gpgkey="$(awk '{
if ($1 == "gpg" && $2 == "--keyserver" && $4 == "--recv-keys" && (1 == 2'"$(
gpg --list-secret-keys | grep 'Key fingerprint =' | awk -F' = ' '{ print " || $5 == \"" $2 "\"" }' | tr -d ' '
gpg --list-secret-keys | awk -F' = ' '/^ +Key fingerprint/{ print " || $5 == \"" $2 "\"" }' | tr -d ' ' || true
)"')) { print substr($5, 33) }
}' "$readmePath")"
else
Expand Down