The Milwaukee Brewers are signing Shelby Miller after the pitcher was released by the Texas Rangers on July 4, according to The Athletic's Ken Rosenthal.

Rosenthal added that Miller agreed to a minor league deal.

With the Rangers this season, Miller pitched in 19 games—starting eight of them—and posted a 1-3 record along with a staggering 8.59 ERA. 

The 28-year-old right-hander spent three seasons with the Arizona Diamondbacks before the club released him in Nov. 2018. Miller was riddled with injuries throughout his three seasons in Arizona, and he underwent Tommy John surgery on his throwing arm in May 2017.

When healthy enough to pitch, Miller posted a 5-18 record as a Diamondback. The Rangers then inked him to a one-year contract in January, but the signing clearly didn't work out.