ci: install xcaddy to fix release flow (#6602)

This commit is contained in:
Mohammed Al Sahaf
2024-10-02 19:12:29 +03:00
committed by GitHub
parent 41f5dd56e1
commit 01be1b54a8
4 changed files with 22 additions and 4 deletions

View File

@ -439,7 +439,7 @@ EXPERIMENTAL: May be changed or removed.
})
defaultFactory.Use(func(rootCmd *cobra.Command) {
RegisterCommand(Command{
rootCmd.AddCommand(caddyCmdToCobra(Command{
Name: "manpage",
Usage: "--directory <path>",
Short: "Generates the manual pages for Caddy commands",
@ -469,7 +469,7 @@ argument of --directory. If the directory does not exist, it will be created.
return caddy.ExitCodeSuccess, nil
})
},
})
}))
// source: https://github.com/spf13/cobra/blob/main/shell_completions.md
rootCmd.AddCommand(&cobra.Command{