Skip to content

Commit

Permalink
fix: do not apply pushpkg_options if it's empty
Browse files Browse the repository at this point in the history
  • Loading branch information
KexyBiscuit committed Aug 6, 2024
1 parent d38658b commit df89ec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worker/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {

Check failure on line 299 in worker/src/build.rs

View workflow job for this annotation

GitHub Actions / build

no field `pushpkg_options` on type `Vec<&str>`
args.insert(0, &args.pushpkg_options);

Check failure on line 300 in worker/src/build.rs

View workflow job for this annotation

GitHub Actions / build

no field `pushpkg_options` on type `Vec<&str>`
}
if &job.git_branch != "stable" {
// allow force push if noarch and non stable
args.insert(0, "--force-push-noarch-package");
Expand Down

0 comments on commit df89ec3

Please sign in to comment.