Opened 2 years ago

Closed 2 years ago

#65776 closed defect (fixed)

k9s reports incorrect version

Reported by: breun (Nils Breunese) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: k9s

Description

I have k9s 0.26.3_1 installed via MacPorts:

❯ port installed | grep k9s
  k9s @0.26.3_1 (active)

However, the binary reports it is version 0.26.1:

❯ k9s version
 ____  __.________       
|    |/ _/   __   \______
|      < \____    /  ___/
|    |  \   /    /\___ \ 
|____|__ \ /____//____  >
        \/            \/ 

Version:    v0.26.1
Commit:     
Date:

During interactive use of k9s the following is shown to indicate that an update to v0.26.3 is available from the current v0.26.1 version:

 K9s Rev: v0.26.1 ⚡️v0.26.3

When I run the pre-compiled 0.26.3 binary from https://github.com/derailed/k9s/releases/tag/v0.26.3 it does report version 0.26.3:

❯ ./Downloads/k9s_Darwin_x86_64/k9s version
 ____  __.________       
|    |/ _/   __   \______
|      < \____    /  ___/
|    |  \   /    /\___ \ 
|____|__ \ /____//____  >
        \/            \/ 

Version:    v0.26.3
Commit:     0893f13b3ca6b563dd0c38fdebaefdb8be594825
Date:       2022-08-04T05:18:24Z

Change History (2)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to herbygillot
Status: newassigned

comment:2 Changed 2 years ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 72bb2f09a98bdffce761415e10234c0277b819f1/macports-ports (master):

k9s: build with correct version info

Fixes: #65776

Note: See TracTickets for help on using tickets.