diff --git a/worker/src/build.rs b/worker/src/build.rs index b11f531..75c97ef 100644 --- a/worker/src/build.rs +++ b/worker/src/build.rs @@ -293,10 +293,12 @@ async fn build( &args.rsync_host, "-i", upload_ssh_key, - &args.pushpkg_options, "maintainers", &job.git_branch, ]; + if &args.pushpkg_options != "" { + args.insert(0, &args.pushpkg_options); + } if &job.git_branch != "stable" { // allow force push if noarch and non stable args.insert(0, "--force-push-noarch-package");