Fix gpg key regexp 2/head
authorNikolay Izhikov <nizhikov@apache.org>
Tue, 25 Sep 2018 14:20:50 +0000 (17:20 +0300)
committerNikolay Izhikov <nizhikov@apache.org>
Tue, 25 Sep 2018 14:20:50 +0000 (17:20 +0300)
scripts/vote_3_step_1[packages]build.sh

index 872f349..4d50228 100644 (file)
@@ -30,7 +30,7 @@ bash packaging/package.sh --deb
 #
 # Sign RPM packages
 #
-rpm --define "_gpg_name $(gpg --list-keys | grep uid | sed -r 's|uid\ +(.*)|\1|')" --addsign packaging/*.rpm
+rpm --define "_gpg_name $(gpg --list-keys | grep uid | head -1 | sed -r 's|uid\ +\[.*\] (.*)|\1|')" --addsign packaging/*.rpm
 
 
 #