Apache Lucene open-source search software
Fix gpg key download in release wizard. (#279)
Houston Putman059d06cec77c
diff --git a/dev-tools/scripts/releaseWizard.py b/dev-tools/scripts/releaseWizard.pyindex 198555c44dd..694b0d33d24 100755--- a/dev-tools/scripts/releaseWizard.py+++ b/dev-tools/scripts/releaseWizard.py@@ -1103,8 +1103,9 @@ def configure_pgp(gpg_todo):id = str(input("Please enter your Apache id: (ENTER=skip) "))if id.strip() == '':return False- all_keys = load('https://home.apache.org/keys/group/lucene.asc')- lines = all_keys.splitlines()+ key_url = "https://home.apache.org/keys/committer/%s.asc" % id.strip()+ committer_key = load(key_url)+ lines = committer_key.splitlines()keyid_linenum = Nonefor idx, line in enumerate(lines):if line == 'ASF ID: %s' % id:@@ -1114,7 +1115,7 @@ def configure_pgp(gpg_todo):keyid_line = lines[keyid_linenum]assert keyid_line.startswith('LDAP PGP key: ')gpg_id = keyid_line[14:].replace(" ", "")[-8:]- print("Found gpg key id %s on file at Apache (https://home.apache.org/keys/group/lucene.asc)" % gpg_id)+ print("Found gpg key id %s on file at Apache (%s)" % (gpg_id, key_url))else:print(textwrap.dedent("""\Could not find your GPG key from Apache servers.