mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 18:24:00 +08:00
simplify distdir filepath
This commit is contained in:
@@ -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...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user