From f310e05c57eb942b3c876936ecf0f3ea19cd164c Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 26 Jun 2025 11:18:11 +0100 Subject: [PATCH] Auto close the repository on publish Appears finding the repository for local checking fails due to ip restrictions. See: gradle-nexus/publish-plugin#379 JAVA-5881 --- .evergreen/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/publish.sh b/.evergreen/publish.sh index 50b4f83f875..b53ca206dca 100755 --- a/.evergreen/publish.sh +++ b/.evergreen/publish.sh @@ -18,7 +18,7 @@ export ORG_GRADLE_PROJECT_signingKey="${SIGNING_KEY}" export ORG_GRADLE_PROJECT_signingPassword=${SIGNING_PASSWORD} if [ "$RELEASE" == "true" ]; then - TASK="publishArchives" + TASK="publishArchives closeSonatypeStagingRepository" else TASK="publishSnapshots" fi