From dd4eb5ce8ed26a70d8b2d6c732217164091aee58 Mon Sep 17 00:00:00 2001 From: ligi Date: Mon, 7 May 2018 16:37:51 +0200 Subject: [PATCH] build: Specify the key to use This way I could locally upload to maven central after the initial problem that the wrong key was used to sign This should fix #16433 --- build/ci.go | 1 + 1 file changed, 1 insertion(+) diff --git a/build/ci.go b/build/ci.go index 204c2067528b..d04aa147c2ee 100644 --- a/build/ci.go +++ b/build/ci.go @@ -771,6 +771,7 @@ func doAndroidArchive(cmdline []string) { } build.MustRunCommand("mvn", "gpg:sign-and-deploy-file", "-e", "-X", "-settings=build/mvn.settings", "-Durl="+repo, "-DrepositoryId=ossrh", + "-Dgpg.keyname=" + os.Getenv("ANDROID_SIGNING_KEY_ID"), "-DpomFile="+meta.Package+".pom", "-Dfile="+meta.Package+".aar") } }