Skip to content

Commit 7b12c96

Browse files
committed
chore(build): Set retry delay for jreleaser publish to 60 seconds between each retry (for a maximum of 40 minutes)
1 parent 5b85982 commit 7b12c96

File tree

5 files changed

+5
-560
lines changed

5 files changed

+5
-560
lines changed

.github/workflows/release_jreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16+
timeout-minutes: 45
1617
steps:
1718
- name: Generate token
1819
id: generate-token

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ target
4545
.DS_Store
4646
**/bin/
4747
.vim/
48+
*.versionsBackup

examples/cli-example/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ repositories {
1313
}
1414

1515
dependencies {
16-
implementation("io.getunleash:unleash-client-java:10.0.2")
16+
implementation("io.getunleash:unleash-client-java:10.2.0")
1717
implementation("ch.qos.logback:logback-classic:1.4.12")
1818
}

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@
330330
<active>ALWAYS</active>
331331
<url>https://central.sonatype.com/api/v1/publisher</url>
332332
<stagingRepositories>target/staging-deploy</stagingRepositories>
333+
<retryDelay>60</retryDelay>
334+
<maxRetries>40</maxRetries>
333335
</sonatype>
334336
</mavenCentral>
335337
</maven>

0 commit comments

Comments
 (0)