Removing architecture attribute from plugin struct, adding switch statement for GOARCH mapping
This commit is contained in:
parent
b686d1f154
commit
b7ceb78f28
3 changed files with 18 additions and 6 deletions
|
|
@ -111,7 +111,6 @@ func run(c *cli.Context) error {
|
|||
Theme: c.String("theme"),
|
||||
Url: c.String("url"),
|
||||
},
|
||||
Architecture: os.Getenv("PLUGIN_HUGO_ARCH"),
|
||||
BuildInVersion: os.Getenv("PLUGIN_HUGO_SHIPPED_VERSION"),
|
||||
}
|
||||
return plugin.Exec()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue