diff --git a/cmd/blobstream/orchestrator/cmd.go b/cmd/blobstream/orchestrator/cmd.go index 83768757..47f57178 100644 --- a/cmd/blobstream/orchestrator/cmd.go +++ b/cmd/blobstream/orchestrator/cmd.go @@ -5,6 +5,8 @@ import ( "path/filepath" "time" + "github.com/celestiaorg/orchestrator-relayer/cmd/blobstream/version" + "github.com/celestiaorg/orchestrator-relayer/cmd/blobstream/base" "github.com/celestiaorg/orchestrator-relayer/cmd/blobstream/common" @@ -66,7 +68,8 @@ func Start() *cobra.Command { return err } - logger.Info("initializing orchestrator", "home", homeDir) + buildInfo := version.GetBuildInfo() + logger.Info("initializing orchestrator", "home", homeDir, "version", buildInfo.SemanticVersion, "build_date", buildInfo.BuildTime) ctx, cancel := context.WithCancel(cmd.Context()) defer cancel() diff --git a/cmd/blobstream/relayer/cmd.go b/cmd/blobstream/relayer/cmd.go index 9cc813d5..06c66322 100644 --- a/cmd/blobstream/relayer/cmd.go +++ b/cmd/blobstream/relayer/cmd.go @@ -5,6 +5,8 @@ import ( "path/filepath" "time" + "github.com/celestiaorg/orchestrator-relayer/cmd/blobstream/version" + "github.com/celestiaorg/orchestrator-relayer/cmd/blobstream/base" ethcmn "github.com/ethereum/go-ethereum/common" @@ -119,7 +121,9 @@ func Start() *cobra.Command { return err } - logger.Info("initializing relayer", "home", homeDir) + buildInfo := version.GetBuildInfo() + logger.Info("initializing relayer", "home", homeDir, "version", buildInfo.SemanticVersion, "build_date", buildInfo.BuildTime) + ctx, cancel := context.WithCancel(cmd.Context()) defer cancel()