feat: add Homebrew and Scoop publishing scripts, enhance versioning metadata
Test / testing (push) Successful in 5m30s
Release / build-and-upload (release) Failing after 9m9s

This commit is contained in:
2026-08-14 11:35:52 +02:00
parent ae30ba1240
commit 333c7468e9
9 changed files with 266 additions and 15 deletions
+8 -1
View File
@@ -6,6 +6,8 @@ import (
"charm.land/bubbles/v2/help"
"charm.land/bubbles/v2/key"
"charm.land/lipgloss/v2"
"git.morlana.online/f.weber/vault-tui/internal/cli"
)
// screenHelp is the shape every keys.KeyMap.XxxHelp() screen-help value
@@ -156,7 +158,12 @@ func (m *Model) viewHeader() string {
// status line (profile/address, or the current toast) — one line total on
// sizeTiny, two otherwise.
func (m *Model) viewFooter(sh screenHelp) string {
status := fmt.Sprintf("%s @ %s", m.a.Settings.Profile, m.a.Settings.Address)
b := cli.Build()
ver := b.Version
if b.Prerelease {
ver += " (prerelease)"
}
status := fmt.Sprintf("%s @ %s · %s", m.a.Settings.Profile, m.a.Settings.Address, ver)
if toastStr := m.toastView(); toastStr != "" {
status = toastStr
} else {