Skip to content

Commit

Permalink
Changed version appearance, previous approach was breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
r-oldenburg committed Nov 18, 2024
1 parent cd8f728 commit 0dd823b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DATE ?= $(shell TZ=UTC date -j -f "%s" ${SOURCE_DATE_EPOCH} +"%Y-%m-%dT%H:
else
DATE ?= $(shell date -u -d @${SOURCE_DATE_EPOCH} +"%Y-%m-%dT%H:%M:%SZ")
endif
VERSION ?= v0.32.7j
VERSION ?= v0.32.7
IMG_NAME := derailed/k9s
IMAGE := ${IMG_NAME}:${VERSION}

Expand Down
2 changes: 1 addition & 1 deletion internal/model/cluster_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (c *ClusterInfo) Refresh() {
}
v2 := NewSemVer(latestRev)

data.K9sVer, data.K9sLatest = v1.String(), v2.String()
data.K9sVer, data.K9sLatest = v1.String()+"j", v2.String()
if v1.IsCurrent(v2) {
data.K9sLatest = ""
}
Expand Down
2 changes: 1 addition & 1 deletion internal/view/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (a *App) layout(ctx context.Context) {
main.AddItem(flash, 1, 1, false)

a.Main.AddPage("main", main, true, false)
a.Main.AddPage("splash", ui.NewSplash(a.Styles, a.version), true, true)
a.Main.AddPage("splash", ui.NewSplash(a.Styles, a.version+"j"), true, true)
a.toggleHeader(!a.Config.K9s.IsHeadless(), !a.Config.K9s.IsLogoless())
}

Expand Down

0 comments on commit 0dd823b

Please sign in to comment.