Skip to content

Commit

Permalink
Increases Sonatype connection timeout to 5 minutes (instead of 1).
Browse files Browse the repository at this point in the history
  • Loading branch information
JayShortway committed Jul 26, 2024
1 parent 3714dff commit d2add74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ def publish
ENV["ORG_GRADLE_PROJECT_mavenCentralPassword"] = ENV["SONATYPE_NEXUS_TOKEN_PASSWORD"]
ENV["ORG_GRADLE_PROJECT_signingInMemoryKey"] = ENV["SIGNING_GPG_IN_MEMORY"]
ENV["ORG_GRADLE_PROJECT_signingInMemoryKeyPassword"] = ENV["GPG_SIGNING_KEY_PW_NEW"]
# Sonatype has a tendency to timeout. Default is 1 minute. This sets it to 5.
# https://vanniktech.github.io/gradle-maven-publish-plugin/central/#timeouts
ENV["SONATYPE_CONNECT_TIMEOUT_SECONDS"] = "300"
gradle(
task: "publishAllPublicationsToMavenCentralRepository",
flags: "--no-configuration-cache"
Expand Down

0 comments on commit d2add74

Please sign in to comment.