From 1df8c5dde879021edcf5269d72168899fb0de9c3 Mon Sep 17 00:00:00 2001 From: Jay McCure Date: Thu, 18 Apr 2024 11:37:15 +1000 Subject: [PATCH 1/2] docs(config): update editor and browser config docs --- commands/config/config.go | 12 ++++++------ docs/source/config/index.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/commands/config/config.go b/commands/config/config.go index dbc879b5c..c24e0b4b3 100644 --- a/commands/config/config.go +++ b/commands/config/config.go @@ -19,13 +19,13 @@ func NewCmdConfig(f *cmdutils.Factory) *cobra.Command { Current respected settings: -- token: Your GitLab access token, defaults to environment variables +- token: your GitLab access token, defaults to environment variables - host: if unset, defaults to %[1]shttps://gitlab.com%[1]s -- browser: if unset, defaults to environment variables -- editor: if unset, defaults to environment variables -- visual: alternative for editor. If unset, defaults to environment variables -- glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are allowed using [glamour](https://github.com/charmbracelet/glamour#styles) -- glab_pager: Your desired pager command to use (e.g. less -R) +- browser: if unset, default browser is used. Override with environment variable $BROWSER +- editor: if unset, default editor is used. Override with environment variable $EDITOR +- visual: takes precedence over editor. If unset, default editor is used. Override with environment variable $VISUAL +- glamour_style: your desired Markdown renderer style. Options are dark, light, notty. Custom styles are allowed using [glamour](https://github.com/charmbracelet/glamour#styles) +- glab_pager: your desired pager command to use (e.g. less -R) - check_update: if true, notifies of any available updates to glab. Defaults to true - display_hyperlinks: if true, and using a TTY, outputs hyperlinks for issues and MR lists. Defaults to false `, "`"), diff --git a/docs/source/config/index.md b/docs/source/config/index.md index 7c2e82062..2e0510d1e 100644 --- a/docs/source/config/index.md +++ b/docs/source/config/index.md @@ -19,13 +19,13 @@ Get and set key/value strings. Current respected settings: -- token: Your GitLab access token, defaults to environment variables +- token: your GitLab access token, defaults to environment variables - host: if unset, defaults to `https://gitlab.com` -- browser: if unset, defaults to environment variables -- editor: if unset, defaults to environment variables -- visual: alternative for editor. If unset, defaults to environment variables -- glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are allowed using [glamour](https://github.com/charmbracelet/glamour#styles) -- glab_pager: Your desired pager command to use (e.g. less -R) +- browser: if unset, default browser is used. Override with environment variable $BROWSER +- editor: if unset, default editor is used. Override with environment variable $EDITOR +- visual: takes precedence over editor. If unset, default editor is used. Override with environment variable $VISUAL +- glamour_style: your desired Markdown renderer style. Options are dark, light, notty. Custom styles are allowed using [glamour](https://github.com/charmbracelet/glamour#styles) +- glab_pager: your desired pager command to use (e.g. less -R) - check_update: if true, notifies of any available updates to glab. Defaults to true - display_hyperlinks: if true, and using a TTY, outputs hyperlinks for issues and MR lists. Defaults to false -- GitLab From a4423d4d5aad1a43ce0614759ba631ff4bd387a0 Mon Sep 17 00:00:00 2001 From: Jay McCure Date: Thu, 18 Apr 2024 12:23:25 +1000 Subject: [PATCH 2/2] docs(config): test broken release --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 781c05341..f98faf46d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -158,7 +158,7 @@ release_test: -v $PWD:/go/src/gitlab.com/gitlab-org/cli \ -w /go/src/gitlab.com/gitlab-org/cli \ -v /var/run/docker.sock:/var/run/docker.sock \ - goreleaser/goreleaser release --snapshot + goreleaser/goreleaser release --verbose --snapshot build_windows: stage: test -- GitLab