From f001295cbbb61d66267218d50d45554c697f1f15 Mon Sep 17 00:00:00 2001 From: TomVasile <43349666+TomVasile@users.noreply.github.com> Date: Wed, 29 Apr 2020 16:34:46 +0000 Subject: [PATCH] simplify distdir filepath --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 8fe36fa..b80474b 100644 --- a/plugin.go +++ b/plugin.go @@ -42,7 +42,7 @@ func (p Plugin) uploadCommand() *exec.Cmd { args = append(args, p.Username) args = append(args, "--password") args = append(args, p.Password) - args = append(args, filepath.Join(filepath.Dir(p.DistDir), "/*")) + args = append(args, filepath.Join(p.DistDir, "/*")) return exec.Command("twine", args...) }