- Update the
CHANGELOG.asciidoc, by adding a new version heading (==== 1.x.x - yyyy/MM/dd) and changing the base tag of the Unreleased comparison URL - Ensure all changes are merged into github.com/elastic/apm-aws-lambda@main
- Create a test plan for any changes that require manual testing. Ensure that the automatic smoke test on the latest commit is successful.
- Trigger a release after succesful testing.
Releasing a version of the Elastic APM AWS Lambda extension requires a tag release.
Tag the release via your preferred tagging method. Tagging a release (v1.1.0) via the command line looks something like this.
% git clone git@github.com:elastic/apm-aws-lambda.git
# ...
% cd apm-aws-lambda
% git checkout main
% git tag v1.1.0
% git push --tags
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:elastic/apm-aws-lambda.git
* [new tag] v1.1.0 -> v1.1.0
This will trigger a build in the CI that will create the Build Artifacts and a Release in the Github UI.
Tip
Configure your AWS credentials using https://github.com/okta/okta-aws-cli Use gh cli to configure the GITHUB_TOKEN
- export GORELEASER_CURRENT_TAG=v0.0.99999
- export GITHUB_TOKEN=$(gh auth token)
- git tag "${GORELEASER_CURRENT_TAG}" -f
- make release-skip-docker
What does GORELEASER_CURRENT_TAG mean?