-
Make sure
opamp-go/internal/opamp-specsubmodule files exist. You can do this either by cloning theopamp-gorepo with submodules the first time, e.g.git clone --recurse-submodules git@github.com:open-telemetry/opamp-go.git. Alternatively, if you already clonedopamp-gowithout the submodule then executegit submodule update --initto fetch all files foropamp-specsubmodule. Note thatopamp-specsubmodule 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/*.protofiles tointernal/protobufs/*.pb.gofiles.
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 releaseon the releases page in GitHub. -
Create a new tag for the release and target the
mainbranch. -
Use the
Generate release notesbutton to automatically generate release notes. Modify as appropriate. -
Check
Set as a pre-releaseas appropriate. -
Publish release