Skip to content

Version number displayed is wrong #1206

@Luca-Poggi

Description

@Luca-Poggi

Describe the bug
When compiling from source the last version release v1.25.3, the version displayed in the binary and also in the telemetry is wrong (but the reference to the commit number is correct).

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/interlay/interbtc
  2. cd interbtc
  3. git checkout 1.25.3
  4. cargo build --release

Expected behavior
cd target/release
./interbtc-parachain --version
interbtc-parachain 1.25.3-b5e8e7ec614

instead I get:
interbtc-parachain 1.2.0-b5e8e7ec614

Version / Commit (e.g. 1.0.0):
v1.25.3

Additional context
The last part "b5e8e7ec614" relative to v1.25.3 is correct but not the version number!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    New 🆕

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions