diff --git a/scripts/jdbc_maven_deploy.py b/scripts/jdbc_maven_deploy.py index 0fabceca..1f830226 100644 --- a/scripts/jdbc_maven_deploy.py +++ b/scripts/jdbc_maven_deploy.py @@ -179,7 +179,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 gpg:sign-and-deploy-file -Durl=%s -DrepositoryId=ossrh' % deploy_url +deploy_cmd_prefix = 'mvn -Dgpg.passphrase= 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))