The release process is almost entirely managed by GitHub actions. To publish a new layer:
- Create a new tag for the layer to publish. For example, to create a new collector layer, the following command is used:
git tag layer-collector/0.0.8
- Push the tag to opentelemetry-lambda repository to trigger the publish action:
git push origin tag layer-collector/0.0.8
- Wait for the release workflow to finish.
- Create a release in https://github.com/open-telemetry/opentelemetry-lambda/releases/new
- Select a the newly pushed tag
- Select the corresponding previous release
- Click "Generate Release Notes"
- Adjust the release notes. Include the ARN, list of changes and diff with previous label.