2.4 KiB
2.4 KiB
Release Process
-
Update the version in the following files:
download.shdocs/README.mdsrc/OpenTelemetry.AutoInstrumentation.Loader/OpenTelemetry.AutoInstrumentation.Loader.csprojsrc/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txtsrc/OpenTelemetry.AutoInstrumentation.Native/Resource.rcsrc/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.hsrc/OpenTelemetry.AutoInstrumentation.Native/version.hsrc/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj- 'src/OpenTelemetry.AutoInstrumentation\Constants.cs'
-
Update the CHANGELOG.md with the new release.
-
Create a pull request on GitHub with the changes described in the changelog.
-
Run the integration tests with Linux containers on Windows and macOS (not covered by CI):
nuke Workflow --containers linux -
Test the described examples.
-
Once the pull request has been merged, create a signed tag for the merged commit. You can do this using the following Bash snippet:
TAG='v{new-version-here}' COMMIT='{commit-sha-here}' git tag -s -m $TAG $TAG $COMMIT git push {remote-to-the-main-repo} $TAGAfter you've pushed the git tag, a
releaseGitHub workflow starts. -
Publish a release in GitHub:
- Use the CHANGELOG.md content in the description.
- Add the artifacts from the
releaseGitHub workflow.
-
Update version in
install-scriptjob in.github/workflows/ci.yml. -
Update version under OpenTelemetry Operator.