pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
409 stars 304 forks source link

Wrong tiup version when tiup --version #2412

Open KanShiori opened 2 months ago

KanShiori commented 2 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

    I upgraded tiup to v1.15.1, but the display version is v1.15.0.

    tiup --version
    1.15.0 tiup
    Go Version: go1.21.9
    Git Ref: v1.15.1
    GitHash: 7f0e0fa8b7d5521075a9be2015eff442769fad47

Maybe we forgot to update the patch version in version.go.

BTW, why not update the version automatically when building?

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiUP are you using (tiup --version)?