0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-21 14:10:38 +00:00

fix: fix default for tags parameter

This commit is contained in:
Robert Kaussow 2023-12-23 22:08:31 +01:00
parent 802772766b
commit d93763eccd
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -93,6 +93,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
Name: "tags",
Usage: "fetch git tags during clone",
EnvVars: []string{"PLUGIN_TAGS"},
Value: true,
Destination: &settings.Tags,
Category: category,
},
@ -145,7 +146,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
Name: "partial",
Usage: "enable/disable partial clone",
EnvVars: []string{"PLUGIN_PARTIAL"},
Value: false,
Destination: &settings.Partial,
Category: category,
},
@ -160,7 +160,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
Name: "use-ssh",
Usage: "using ssh for git clone",
EnvVars: []string{"PLUGIN_USE_SSH"},
Value: false,
Destination: &settings.UseSSH,
Category: category,
},