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
+5 -4
View File
@@ -91,11 +91,12 @@ func bootstrap(cmd *cli.Command) (*App, error) {
// First-run UX: if there is genuinely no config yet, an interactive
// session gets an inline wizard instead of a wall of "no profile
// configured" errors — but never for `config ...` itself (that
// subtree has its own explicit `init`) and never in a non-interactive
// context (CI, pipes), where the tool must stay driven entirely by
// flags/env instead of blocking on stdin.
// subtree has its own explicit `init`), never for `version` (which
// shouldn't need a Vault connection at all), and never in a
// non-interactive context (CI, pipes), where the tool must stay
// driven entirely by flags/env instead of blocking on stdin.
leaf := cmd.Args().First()
if !config.Exists(path) && IsInteractive() && leaf != "config" {
if !config.Exists(path) && IsInteractive() && leaf != "config" && leaf != "version" {
if _, err := runWizard(path); err != nil {
return nil, err
}