Skip to content

cli: update the cometbft version command to output the v1 version #2543

@andynog

Description

@andynog

Feature Request

Summary

The CLI command cometbft version logic needs to be updated before the v1 release

Problem Definition

When executing the CLI command cometbft version it outputs

$ cometbft version
0.39.0-dev+441f2f31b

Proposal

The version is hard-coded in the version logic. Needs to be updated here:

CMTSemVer = "0.39.0-dev"

and backport to v1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablybackport-to-v1.xTell Mergify to backport the PR to v1.xcli

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions