From 140d51ae9af515718e73aa482ace4e791093ae89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 13 Sep 2016 17:08:54 +0200 Subject: [PATCH] Fix `files` configuration key error Currently the `files` option doesn't have any effect (i.e. no asset is published on GitHub). This patch fixes the corresponding typo in `main.go`. Closes: #16 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fd1426a..9628053 100644 --- a/main.go +++ b/main.go @@ -108,7 +108,7 @@ func run(c *cli.Context) error { }, Config: Config{ APIKey: c.String("api-key"), - Files: c.StringSlice("api-key"), + Files: c.StringSlice("files"), FileExists: c.String("file-exists"), Checksum: c.StringSlice("checksum"), Draft: c.Bool("draft"),