Skip to content

Release checklist

James Kerr edited this page Mar 15, 2021 · 2 revisions

Release Checklist

Prerequisites

  1. A Bintray account. The account must be a member of the MarkLogic Community Bintray organization.
  2. Local MarkLogic server instance for running tests.

Checklist

  1. Review and merge all PR(s) for release into develop branch. Make any necessary changes or updates.
  2. Update version in gradle.properties.
  3. Update exports.version in src/main/ml-modules/ext/version.sjs.
  4. Run all tests. See the Testing section in the README for details.
  5. Update the package versions declared in the example project's build.gradle: both under buildscript/dependencies/classpath and dependencies/mlBundle
  6. Make any updates to README.md; at minimum, update the version numbers within the text.
  7. Make a pull request develop to master. Review and merge.
  8. In Github, go to Releases and draft a new release. Ensure to fill up the Tag version and target is master. When ready, click Publish.
  9. Login to Bintray, go to Edit Profile, and copy your API key.
  10. In your local project, ensure your branch is set to master.
  11. Run ./gradlew -PmyBintrayUser=[username] -PmyBintrayKey=[api key] bintrayUpload.
  12. Login to Bintray again. You should get a notification that you have several "unpublished" artifacts (Note: sometimes you need to wait for a minute). Click Publish.
  13. To test, go to the example project's directory and run ./gradlew mlDeploy, which will download the latest artifacts.

Clone this wiki locally