Skip to content

Commit

Permalink
Keep the git clean to remove any extra files but set yarn back on s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed Jun 29, 2023
1 parent ff0435a commit 35053ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/manageiq/rpm_build/generate_core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def build_service_ui
shell_cmd("yarn install")
shell_cmd("yarn run available-languages")
shell_cmd("yarn run build")
shell_cmd("git clean -xdf") unless RUBY_PLATFORM.include?("s390x") # git clean would unset the yarn version change
shell_cmd("git clean -xdf") # cleanup temp files
shell_cmd("yarn set version 1.22.18") if RUBY_PLATFORM.include?("s390x")
end
end

Expand Down

0 comments on commit 35053ea

Please sign in to comment.