From 9dcfc51e14ffa2d7a082b3717d8698cee4b52923 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Mon, 15 Jul 2024 13:59:01 +0200 Subject: [PATCH] Explicitly exit script, avoiding to fail auth, to be reworked --- scripts/jdbc_maven_deploy.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/jdbc_maven_deploy.py b/scripts/jdbc_maven_deploy.py index 2f5e4e3b..95e11062 100644 --- a/scripts/jdbc_maven_deploy.py +++ b/scripts/jdbc_maven_deploy.py @@ -179,6 +179,11 @@ def exec(cmd): shutil.copyfile(jar, os.path.join(results_dir, os.path.basename(jar))) print("JARs created, uploading (this can take a while!)") + +# FIXME: We are currently relying on this to fail so we might as well just fail :) +print('Terminate script, skipping upload, on purpose') +exit(0) + 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))