Updated Release Procedure (markdown)

Kevin Wooten 2021-05-25 12:58:44 -07:00
parent b799a72485
commit 8bb147ff40
1 changed files with 4 additions and 0 deletions

@ -17,6 +17,10 @@ The release procedure is now _easy_ and uses Gradle tasks for each step. This en
1. Publish signed artifacts to Maven Central Staging 1. Publish signed artifacts to Maven Central Staging
* `./gradlew -Prelease=true publish` * `./gradlew -Prelease=true publish`
1. Verify artifacts & release to Maven Central 1. Verify artifacts & release to Maven Central
* Download `pgjdbc-ng-all-<ver>.jar` from staging repository
* Run simple verifier against a running server:
* * `verify/run.sh <location to downloaded jar> <connection string>`
* * It should print `Success: PostgreSQL (<server version>)`
1. Generate GitHub release **draft** 1. Generate GitHub release **draft**
* `./gradlew -Prelease=true githubRelease` * `./gradlew -Prelease=true githubRelease`
* NOTE: This downloads the artifacts from Maven Central to ensure exact artifacts are used. Ensure the Maven release process is finished before executing the Gradle task (usually only takes a couple minutes). * NOTE: This downloads the artifacts from Maven Central to ensure exact artifacts are used. Ensure the Maven release process is finished before executing the Gradle task (usually only takes a couple minutes).