Versioning is using MinVer. No changes in the code are needed to correctly version this package.
-
Update the CHANGELOG.md with the new release.
-
Create a pull request on GitHub with the changes described in the changelog.
*scripts*
andvalidate-documentation
jobs will fail because the release is not published yet.
-
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 upstream $TAG
After you've pushed the git tag, a
ci
GitHub workflow starts. -
Publish a release in GitHub:
- Use a draft created by
create-release
GitHub job inci
workflow. - Use the CHANGELOG.md content in the description.
- Ensure that following flags under the are correctly set
Set as a pre-release
Set as the latest release
- Use a draft created by
-
Publish the NuGet packages:
- Download
Splunk.OpenTelemetry.AutoInstrumentation.*.nupkg
to a local directory. - Upload and publish the package to nuget.org.
- Download
-
Check that the
operator-docker
image has been published. -
Ask o11y-docs team
- to execute update metadata workflow to update matrix in o11y-gdi-metadata repository,
- to publish necessary updates to the documentation.
-
Update version in microservices-demo.
-
Update version in tracing-examples:
-
Update internal repository. Follow internal documentation.