OpenTelemetry Auto-Instrumentation for Java uses SemVer standard for versioning of its artifacts.
The version is specified in version.gradle.kts.
Every successful CI build of the main branch automatically executes ./gradlew publishToSonatype
as the last step, which publishes a snapshot build to
Sonatype OSS snapshots repository.
Before making the release:
main
updating the CHANGELOG.md
buildscripts/draft-change-log-entries.sh
to help create an initial draft.
We typically only include end-user facing changes in the change log.main
branch)Open the Release workflow.
Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. v1.9.x
, and click the "Run workflow" button below that.
This triggers the release process, which builds the artifacts, publishes the artifacts, and creates and pushes a git tag with the version number.
Once the GitHub workflow completes, go to Github release page, find the draft release created by the release workflow, and
All patch releases should include only bug-fixes, and must avoid adding/modifying the public APIs.
In general, patch releases are only made for bug-fixes for the following types of issues:
Before making the release:
CHANGELOG.md
v1.9.x
, and click the "Run workflow" button below that.Open the Release workflow.
Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. v1.9.x
, and click the "Run workflow" button below that.
This triggers the release process, which builds the artifacts, publishes the artifacts, and creates and pushes a git tag with the version number.
Once the GitHub workflow completes, go to Github release page, find the draft release created by the release workflow, and
After making the release:
main
with the change log updates from the patch release