The release process is also automated in the way any specific commit, from the main branch ideally, can be potentially released, for such it's required the below steps:
- Checkout the commit to be released
- Create a tag with the format
[0-9]+.[0-9]+.[0-9]+
, i.e.:1.0.2
- Push the tag to the upstream.
- Then, the CI pipeline will trigger a release.
- Wait for an email/slack to confirm the release is ready to be approved, it might take roughly 20 minutes.
- Login to apm-ci.elastic.co
- Click on the URL from the email/slack.
- Click on approve or abort.
- Then you can go to the
https://packagist.org/packages/elastic/ecs-logging
and GitHub releases to validate that the bundles and release notes have been published.