Phoenix, AZ (Sports Network) - Wily Peralta pitched seven innings of one-run ball and the Milwaukee Brewers avoided a four-game sweep against the Arizona Diamondbacks with a 5-1 victory.
Peralta (7-9), who was coming off a shutout against the Reds on Tuesday, gave up seven hits and a pair of walks while striking out eight in his outing. He has allowed just one run over his last three starts.
Logan Schafer hit a solo homer and knocked in two runs for the Brewers (38-56), who enter the All-Star break last in the NL Central. Carlos Gomez also drove in two runs and Martin Maldonado added an RBI.
Miguel Montero hit a solo homer for the Diamondbacks (50-45), who sit first in the NL West at the break for the first time since 2008.
Starter Ian Kennedy(3-6) surrendered all five runs on nine hits and two walks over 6 1/3 innings in his seventh attempt to earn his 50th career win. His last victory came on June 1 against the Cubs.