Skip to content

Commit 60d0deb

Browse files
Merge pull request #13 from sovren/feature/reliable-deployments
Feature/reliable deployments
2 parents 7e573a0 + cc1aed2 commit 60d0deb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: Maven Package Publish
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
9+
workflow_dispatch: #add this option in case of a failure and we need to re-run
910

1011
jobs:
1112
build:

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.sovren</groupId>
55
<artifactId>sovren-java</artifactId>
66

7-
<version>0.1.12-beta</version>
7+
<version>0.1.13-beta</version>
88

99
<packaging>jar</packaging>
1010
<name>Sovren Java SDK</name>
@@ -171,6 +171,9 @@
171171
<serverId>ossrh</serverId>
172172
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
173173
<autoReleaseAfterClose>true</autoReleaseAfterClose>
174+
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
175+
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
176+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
174177
</configuration>
175178
</plugin>
176179
</plugins>

0 commit comments

Comments
 (0)