Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 2.19 KB

RELEASING.md

File metadata and controls

43 lines (32 loc) · 2.19 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.

Prerelease checklist

  • Check and upgrade dependencies where it applies and makes sense.
    • Create a distinct pull request and test your changes since it may introduce regressions.
    • While using the latest versions of dependencies is advised, it may not always be possible due to potential compatibility issues.
    • Upgraded dependencies should be thoroughly considered and tested to ensure they are safe!
  • Make sure tests are passing.
    • Locally and in the continuous integration system.
  • Manually test changes included in the new release.
  • Make sure documentation is up-to-date.

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 a new version identifier in the New version number input box (e.g. 1.10.0). The default updates the previous minor.
  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.

Publish

  1. A github action will kick off that builds and publishes this tag to Ruby Gem. Check that the Ruby Gem is published.
  2. Review and merge generated Post release pull-request with dev version bump.