You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by is...@apache.org on 2022/10/25 18:06:31 UTC
[solr] branch branch_9_1 updated: Fix useGpg signing without password (#1125)
This is an automated email from the ASF dual-hosted git repository.
ishan pushed a commit to branch branch_9_1
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_1 by this push:
new ef9acb33058 Fix useGpg signing without password (#1125)
ef9acb33058 is described below
commit ef9acb33058b9575fd384f3563133ffdf5c930dd
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Tue Oct 25 23:35:36 2022 +0530
Fix useGpg signing without password (#1125)
Closes #1125
---
gradle/maven/defaults-maven.gradle | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gradle/maven/defaults-maven.gradle b/gradle/maven/defaults-maven.gradle
index 5eb45919c0f..8f0137c396f 100644
--- a/gradle/maven/defaults-maven.gradle
+++ b/gradle/maven/defaults-maven.gradle
@@ -172,6 +172,9 @@ configure(subprojects.findAll { it.path in rootProject.published }) { prj ->
}
signing {
+ if (project(":solr:distribution").ext.useGpgForSigning) {
+ useGpgCmd()
+ }
required { !version.endsWith("SNAPSHOT") }
sign publishing.publications.jars
}