= OmniJ Release Process

== Main Release Process


. Official builds are now done with JDK 11. (Although most release JARs are JDK 8-compatible)
.. `sdk use java 11.0.10.hs-adpt`
. Update `CHANGELOG.adoc`
. Set versions
.. `gradle.properties`
.. omnij-dsl `ExtensionModule`
.. `README.adoc`
. Commit version bump and changelog.
. Full build, test
.. `./gradlew clean buildCI regTest`
. Tag: `git tag -a v0.x.y -m "Release 0.x.y"`
. Push: `git push --tags origin master`
. Publish to Bintray:
.. `./gradlew bintrayUpload`
.. Confirm publish of artifacts in Bintray Web UI.
. Publish Github pages site including JavaDoc and GroovyDoc
.. `./gradlew publishSite`
. Publish to Github Packages
.. `./gradlew publish`
. Update Github https://github.com/OmniLayer/OmniJ/releases[OmniJ Releases] page.

== Announcements

. Not yet.

== After release

. Set versions back to -SNAPSHOT
.. `gradle.properties`
.. omnij-dsl `ExtensionModule`
.. `CHANGELOG.adoc`
.. *Not* `README.adoc` -- it should match release version
. Commit and push to master


== Publish Snapshot release to Github Maven repo

. `.gradlew clean buildCI regTest publish`

== Install Snapshot to local maven repo

. `./gradlew clean buildCI publishToMavenLocal`




= OmniJ Release Process

== Main Release Process


. Official builds are now done with JDK 11. (Although most release JARs are JDK 8-compatible)
.. `sdk use java 11.0.10.hs-adpt`
. Update `CHANGELOG.adoc`
. Set versions
.. `gradle.properties`
.. omnij-dsl `ExtensionModule`
.. `README.adoc`
. Commit version bump and changelog.
. Full build, test
.. `./gradlew clean buildCI regTest`
. Tag: `git tag -a v0.x.y -m "Release 0.x.y"`
. Push: `git push --tags origin master`
. Publish to Gitlab Maven repo:
.. `./gradlew publish`
. Publish Github pages site including JavaDoc and GroovyDoc
.. `./gradlew publishSite`
. Update Github https://github.com/OmniLayer/OmniJ/releases[OmniJ Releases] page.

== Announcements

. Not yet.

== After release

. Set versions back to -SNAPSHOT
.. `gradle.properties`
.. omnij-dsl `ExtensionModule`
.. `CHANGELOG.adoc`
.. *Not* `README.adoc` -- it should match release version
. Commit and push to master


== Publish Snapshot release to Github Maven repo

. `.gradlew clean buildCI regTest publish`

== Install Snapshot to local maven repo

. `./gradlew clean buildCI publishToMavenLocal`




Update release process for Gitlab Maven repo
Update release process for Gitlab Maven repo