splunk-otel-android is released via a private Splunk gitlab installation.
This is the process to use to do a release:
-
Make sure that all the required changes are merged. This includes updating the upstream OTel libraries' versions, and making sure that the project version in the
gradle.properties
file is correctly set to the next planned release version. -
Run the
scripts/tag-release.sh
script to create and push a signed release tag. Note that it assumes that the remote is namedorigin
, if you named yours differently you might have to push the tag manually. -
Wait for gitlab to run the release job.
-
Log in to
oss.sonatype.org
with a profile that has permissions to see and release thecom.splunk
staging repository. -
Close the staging repository, and then release it via the oss.sonatype.org UI. Ideally, verify that publishing worked by pulling down the dependency in some sample project and build an application against it. This will double-check that it's a working release.
-
Create a PR to update the version in the
gradle.properties
to the next development version. This PR can and probably should also include updating any documentation (CHANGELOG.md, README.md, etc) that mentions the previous version. -
Once this PR is merged, create a release in Github that points at the newly created version, and make sure to provide release notes that at least mirror the contents of the CHANGELOG.md