This document summarizes the process of doing a new release of this project. Release can only be performed by Datadog maintainers of this repository.
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.
- Ensure all CIs are passing on the master branch that we're about to release.
The release process is controlled and run by GitHub Actions.
- Make sure you have
write_repo
access. - Share your plan for the release with other maintainers to avoid conflicts during the release process.
- Open prepare release and click on
Run workflow
dropdown. - 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. - Trigger the action by clicking on
Run workflow
button.
- Review the generated pull-request for
release/<New version number>
branch. - If everything is fine, merge the pull-request.
- 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.
- If this job fails due to an expired GPG key, refresh the key using the
- 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
- This will kick off a GitLab pipeline that will build and upload the JAR to sonatype.
- Review and merge generated
Post release
pull-request withSNAPSHOT
version bump.