mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-31 01:53:50 +02:00
feat: rename yml to yaml in init command (#2719)
This commit is contained in:
parent
55cd895698
commit
f9687b482a
@ -19,7 +19,7 @@ func newInitCmd() *initCmd {
|
||||
cmd := &cobra.Command{
|
||||
Use: "init",
|
||||
Aliases: []string{"i"},
|
||||
Short: "Generates a .goreleaser.yml file",
|
||||
Short: "Generates a .goreleaser.yaml file",
|
||||
SilenceUsage: true,
|
||||
SilenceErrors: true,
|
||||
Args: cobra.NoArgs,
|
||||
@ -49,7 +49,7 @@ func newInitCmd() *initCmd {
|
||||
},
|
||||
}
|
||||
|
||||
cmd.Flags().StringVarP(&root.config, "config", "f", ".goreleaser.yml", "Load configuration from file")
|
||||
cmd.Flags().StringVarP(&root.config, "config", "f", ".goreleaser.yaml", "Load configuration from file")
|
||||
|
||||
root.cmd = cmd
|
||||
return root
|
||||
|
Loading…
Reference in New Issue
Block a user