From eadda4a39989f2e6ce86e37d38168d3bda952f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20M=C3=BChleisen?= Date: Wed, 18 Sep 2024 12:32:30 +0200 Subject: [PATCH] another attempt at fixing gpg signing --- scripts/jdbc_maven_deploy.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/jdbc_maven_deploy.py b/scripts/jdbc_maven_deploy.py index 1f830226..d4445a3d 100644 --- a/scripts/jdbc_maven_deploy.py +++ b/scripts/jdbc_maven_deploy.py @@ -115,8 +115,11 @@ def exec(cmd): 1.6.14 true - ossrh - https://oss.sonatype.org/ + ossrh + https://oss.sonatype.org/ + + --no-tty + @@ -179,7 +182,7 @@ def exec(cmd): shutil.copyfile(jar, os.path.join(results_dir, os.path.basename(jar))) print("JARs created, uploading (this can take a while!)") -deploy_cmd_prefix = 'mvn -Dgpg.passphrase= gpg:sign-and-deploy-file -Durl=%s -DrepositoryId=ossrh' % deploy_url +deploy_cmd_prefix = 'mvn gpg:sign-and-deploy-file -Durl=%s -DrepositoryId=ossrh' % deploy_url exec("%s -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, binary_jar)) exec("%s -Dclassifier=sources -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, sources_jar)) exec("%s -Dclassifier=javadoc -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, javadoc_jar))