0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-24 23:10:39 +00:00

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
This commit is contained in:
Adrien Vergé 2016-09-13 17:08:54 +02:00
parent db2a647af4
commit 140d51ae9a

View File

@ -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"),