Created Release Procedure (markdown)

Kevin Wooten 2019-02-03 18:03:52 -07:00
parent e84cfc6e97
commit 90d00c6893
1 changed files with 21 additions and 0 deletions

21
Release-Procedure.md Normal file

@ -0,0 +1,21 @@
1. Change project `version` by removing SNAPSHOT
* Edit `build.gradle.kts` and **commit locally** with relevant version message
1. Generate clean tested release build
* `./gradlew -Prelease=true clean build`
1. Publish signed artifacts to Maven Central Staging
* `./gradlew -Prelease=true publish`
1. Verify artifacts & release to Maven Central
1. Generate GitHub release **draft**
* `./gradlew -Prelease=true githubRelease`
* NOTE: This downloads the artifacts from Maven Central to ensure exact artifacts are used. Ensure the release process is finished before execution (usually only takes a couple minutes).
* Verify artifacts in GitHub are correct.
1. Publish documentation to Github Pages
* `./gradlew -Prelease=true documentation:gitPublishPush`
1. Increment project `version` to **next** SNAPSHOT
* Edit `build.gradle.kts` and **commit locally** with relevant version message
1. Push versioning commits to origin
* `git push`
1. Finalize GitHub release
* From "recent commits" ensure the release commit is selected
🎉Done🎉