Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes committed Oct 29, 2024
1 parent e0a7907 commit e806fa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/Java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ jobs:
shell: bash
run: |
mkdir -p ~/.gnupg
echo -e "use-agent\npinentry-mode loopback\n" > ~/.gnupg/gpg.conf
echo -e "allow-loopback-pinentry\n" > ~/.gnupg/gpg-agent.conf
if [[ "$GITHUB_REF" =~ ^(refs/heads/main|refs/tags/v.+)$ && "$GITHUB_REPOSITORY" = "duckdb/duckdb-java" ]] ; then
export XML='
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/jdbc_maven_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,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 gpg:sign-and-deploy-file -DgpgArguments=--batch,--pinentry-mode,loopback -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))
Expand Down

0 comments on commit e806fa2

Please sign in to comment.