One of the final hurdles that Texas brewers faced in their quest to get beer-to-go sales legalized in the state has been removed, just days before a crucial vote in the Texas Senate.

The Wholesale Beer Distributors of Texas on Wednesday signed an agreement with the Beer Alliance of Texas and the Texas Craft Brewers Guild giving support for beer-to-go sales at the state's manufacturing breweries, according to a document posted online and confirmed by the guild. Such breweries include Real Ale Brewing, Celis Brewery and Austin Beerworks locally.

The agreement has one notable stipulation: Breweries would be able to sell one case of beer per day to customers, versus the two cases that had been previously proposed. But they'll still be able to sell the equivalent of up to 5,000 barrels of beer through their taprooms and decide how much of those sales would go toward on- or off-premise consumption.

Before Wednesday, the distributor group had been opposed to beer-to-go, arguing that allowing it would erode the three-tier system that governs the production, distribution and sale of alcohol in Texas. The Beer Alliance also was once opposed but forged a compromise with the guild in February.

A representative of the Wholesale Beer Distributors of Texas could not be reached for comment.

With the distributor group now on board, Charles Vallhonrat, the executive director of the guild, said he is "highly confident" that beer-to-go will finally happen. Texas would be the final state to allow it.

Brewers can't start celebrating yet, though. Beer-to-go still has some big steps to take before being cemented as a new policy. Last month, the Texas House OK'd the measure as an amendment to the crucial sunset bill that would keep the Texas Alcoholic Beverage Commission in operation. Now, the Senate must act.

The guild had hoped a Senate committee would accept the House's amended sunset bill with beer-to-go included. Though that didn't happen, Vallhonrat said he expects beer-to-go to be tacked on as an amendment to the Senate's version of the sunset bill and passed. Texas Democrats and Republicans alike named beer-to-go as an issue on their party platforms last summer.

On Wednesday afternoon, Vallhonrat said the guild alerted its member breweries that beer-to-go was closer than ever to becoming a reality, albeit with the new cap on daily sales. That compromise didn't seem to matter: A North Texas brewer reached out right away, ecstatic about the news.

"They were very excited this is on the pathway to passage," he said.