diff --git a/Makefile b/Makefile index 406d04b013..63f85e86aa 100644 --- a/Makefile +++ b/Makefile @@ -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} diff --git a/internal/model/cluster_info.go b/internal/model/cluster_info.go index 62f6e7f1dd..5de4bdd03b 100644 --- a/internal/model/cluster_info.go +++ b/internal/model/cluster_info.go @@ -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 = "" } diff --git a/internal/view/app.go b/internal/view/app.go index 4ac7e7c2b1..91136774a2 100644 --- a/internal/view/app.go +++ b/internal/view/app.go @@ -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()) }