File PACKAGING_README.md of Package opentelemetry-collector
# Packaging opentelemetry-collector
Packaging the OpenTelemetry distributions is a little complicated, as upstream
uses their own build tool `ocb` that generates things like the `go.mod` on the
fly. This makes vendoring the go dependencies offline a little harder.
1. Install the `ocb` file locally
2. Change the version in the `_service` file
3. Run `make`
4. Create a changelog entry
5. Commit the changes as usual
For the OBS workflow you also need `obs-service-tar_scm` as well
as `obs-service-set_version` and `obs-service-go_modules`.