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))