You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,28 @@ Git repository typically contains -SNAPSHOT versions, so you can use the followi
50
50
51
51
## Releasing a new version
52
52
53
+
### Release via Travis
54
+
55
+
To release a branch via Travis, perform the following:
56
+
57
+
TL;DR:
58
+
59
+
git checkout -B release/master origin/master
60
+
git push origin release/master
61
+
62
+
1. Check if `pom.xml` includes proper `-SNAPSHOT` versions (release versions would be the ones without `-SNAPSHOT`)
63
+
1. Check if there are `RELx.y.z` tags left behind from unsuccessful release attempts
64
+
1. Push `release/master` branch to pointing to the commit you want to release
65
+
66
+
Travis would build new version, create a tag, update `pom.xml` to the next snapshot versions, and update `master` branch accordingly.
67
+
68
+
Note: the artifacts will not be visible in Maven Central before you manually release them.
69
+
70
+
1. Navigate to [Sonatype Nexus Repository Manager](https://oss.sonatype.org/#stagingRepositories), find staging `orgpostgresql` repository there and release it
71
+
72
+
73
+
### Manual release
74
+
53
75
Procedure:
54
76
55
77
To commit updates to version in `pom.xml` files and create a tag, issue:
@@ -66,6 +88,13 @@ If staged artifacts look fine, release it
In case release fails, the following cleanup is required:
94
+
95
+
1. Git tags. For instance: `git push origin :RELx.y.z`
96
+
1. Drop staging repository (if exists). Navigate to [Sonatype Nexus Repository Manager](https://oss.sonatype.org/#stagingRepositories), find staging `orgpostgresql` repository there and drop it
97
+
69
98
## Dependencies
70
99
71
100
`pgjdbc-parent-poms` has little to no dependencies itself. It just lists defaults to be used by core `pgjdbc` project.
0 commit comments