-
Make sure
opamp-go/internal/opamp-spec
submodule files exist. You can do this either by cloning theopamp-go
repo with submodules the first time, e.g.git clone --recurse-submodules [email protected]:open-telemetry/opamp-go.git
. Alternatively, if you already clonedopamp-go
without the submodule then executegit submodule update --init
to fetch all files foropamp-spec
submodule. Note thatopamp-spec
submodule requires ssh git cloning access to github and won't work if you only have https access. -
Make sure you have Docker installed and running.
-
Run
make gen-proto
. This should compileinternal/proto/*.proto
files tointernal/protobufs/*.pb.go
files.
Note that this is tested on linux/amd64 and darwin/amd64 and is known to not work on darwin/arm64 (M1/M2 Macs). Fixes are welcome.
-
Draft a new release
on the releases page in GitHub. -
Create a new tag for the release and target the
main
branch. -
Use the
Generate release notes
button to automatically generate release notes. Modify as appropriate. -
Check
Set as a pre-release
as appropriate. -
Publish release