Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.41 KB

RELEASING.md

File metadata and controls

40 lines (29 loc) · 2.41 KB

Releasing

This document summarizes the process of doing a new release of this project. Release can only be performed by Datadog maintainers of this repository.

Schedule

This project does not have a strict release schedule. However, we would make a release at least every 2 months.

  • No release will be done if no changes got merged to the master branch during the above mentioned window.
  • Releases may be done more frequently than the above mentioned window.

Prerequisites

  • Ensure all CIs are passing on the master branch that we're about to release.

Release Process

The release process is controlled and run by GitHub Actions.

Prerequisite

  1. Make sure you have write_repo access.
  2. Share your plan for the release with other maintainers to avoid conflicts during the release process.

Update Changelog

  1. Open prepare release and click on Run workflow dropdown.
  2. If needed, enter new version identifier in the New version number input box (e.g. 1.10.0). Leave it blank to increment the minor by default.
  3. Trigger the action by clicking on Run workflow button.

Review

  1. Review the generated pull-request for release/<New version number> branch.
  2. If everything is fine, merge the pull-request.
  3. Check that the release action created new release on GitHub.
    • This will kick off a GitLab pipeline that will build and upload the JAR to sonatype.
      • If this job fails due to an expired GPG key, refresh the key using the create_key job, which uses the agent-key-management-tools image.
      • Make sure to set EXPORT_TO_KEYSERVER: true when manually starting the job to upload the public keys to the relevant keyservers. Key propagation will take around 10 minutes.
    • Sign into sonatype and find the uploaded project here
    • Check this project and click Release. Once confirmed this will start the sync and finalize the release.
      • Note the full sync may take some time but confirm the version is available here
  4. Review and merge generated Post release pull-request with SNAPSHOT version bump.