Page MenuHomePhabricator

Fix Debian package script in case signer has multiple user IDs
ClosedPublic

Authored by jasonbcox on Jun 2 2020, 19:12.

Details

Summary

The script breaks if the signer has multiple, ultimately-trusted user IDs.
I recently added another email to my GPG key, so this was broken for me.

Test Plan

Used this script to upload to my staging PPA: https://launchpad.net/~jasonbcox/+archive/ubuntu/bitcoin-abc/+packages
./debian-packages.sh -p jasonbcox-bitcoin-abc jasonbcox

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added inline comments.
contrib/release/debian-packages.sh
111 ↗(On Diff #20805)

I don't see the point, you already know the signer email since it's in the keys.txt file. You can use it to filter with no ambiguity.

jasonbcox retitled this revision from Fix Debian package script to support multiple user IDs from a single signer to Fix Debian package script in case signer has multiple user IDs.Jun 2 2020, 20:14
This revision is now accepted and ready to land.Jun 2 2020, 20:20