This document explains the steps required to publish a new release of splunk-opentelemetry Node package to npm.
Release process:
- Checkout a release branch
- Generate changelog and version
- Submit changes for review
- Merge the PR
- Verify the newly released npm package
Checkout a new branch from main with name equal to release/v<VERSION_NUMBER>
.
So if you intend to release 1.2.0
, create a branch named release/v1.2.0
Add the list of changes to CHANGELOG.md
. Keep with the subtitle convention, e.g. ## 2.0.0
.
Commit the changes and submit them for review.
The commit title should be Release v<VERSION_NUMBER>
and the description should be all the changes,
additions and deletions this version will ship with. This can be copied as-is from the CHANGELOG file.
Once the PR is approved, you need to merge it. The rest of the process is automated. To start the release process, you need to push a signed tag v<version>
to the internal Splunk mirror of this repository.
Go to the internal Splunk mirror of this repository and verify that the pipeline job for your new version was successful.
Go to https://www.npmjs.com/package/@splunk/otel and verify the new package was published. It may take a few minutes for the npmjs.com web interface to reflect the new package but it should be installable instantly.