MILWAUKEE >> Mark Vientos hit a tiebreaking, two-run single during a five-run outburst in the fifth inning as the indefatigable New York Mets continued their thrilling week by beating the Milwaukee Brewers 8-4 in an NL Wild Card Series opener Tuesday.

The Mets didn’t earn a playoff berth until they rallied late from a three-run deficit to win the opening game of a makeup doubleheader in Atlanta on Monday, one day after the regular season was supposed to end.

Now they’re a win from heading to Philadelphia for an NL Division Series.

“I knew we were in a good spot when we boarded the plane,” manager Carlos Mendoza said. “We celebrated. We got out of the clubhouse in Atlanta, and you could tell right away our mentality was next day, next game.”

Since Major League Baseball went to the current postseason format in 2022 that features four best-of-three Wild Card Series, the Game 1 winner has gone on to advance in each of the eight series. Only one of those eight series even made it to a winner-take-all third game.

Milwaukee has lost 10 of its last 11 playoff games, a stretch that began with its Game 7 home defeat against the Los Angeles Dodgers in the 2018 NL Championship Series.

Jesse Winker and pinch-hitter J.D. Martinez each drove in two runs for the Mets. Winker, who batted .199 with a .567 OPS for the Brewers last year before bouncing back this season, drew a chorus of boos each time he came to the plate. He also appeared to exchange words with Milwaukee shortstop Willy Adames after hitting a two-run triple in the second.

Brice Turang went 3 for 4, Jackson Chourio was 2 for 4 and William Contreras had two RBIs for the Brewers. According to MLB.com, the 20-year-old Chourio was the youngest player to get two hits in his playoff debut.

NL Central champion Milwaukee had been 5-0 against the Mets this season before losing 5-0 to them in its regular-season finale Sunday.

That sent the Mets to Atlanta needing one win in the doubleheader to reach the postseason, and they clinched a spot by scoring all their runs in the final two innings of an 8-7 victory over the rival Braves.

New York was back on the field in Milwaukee again just 22 hours after the twin bill — and the Mets showed a similar tenacity Tuesday.

“It’s hard to be tired when you’re playing playoff baseball,” Vientos said. “I had a bunch of energy. I know all of us did. We were all excited, and we got the job done.”

padres 4, braves 0>> Fernando Tatis Jr. hit a towering two-run homer on his first playoff swing in four years and Michael King struck out 12 in his first postseason start as the San Diego Padres beat rookie AJ Smith-Shawver and the Atlanta Braves 4-0 in Game 1 of their NL Wild Card Series on Tuesday night.

Tatis’ 415-foot shot landed in the second deck in left field at Petco Park and sent the towel-waving, sellout crowd of 47,647 into a frenzy. The 25-year-old star, who missed just more than 2 1/2 months this season with a stress reaction in his right thighbone, watched the ball fly away, tossed his bat aside, gestured toward the home dugout and did his signature stutter-step around third base.

Game 2 in the best-of-three playoff is Wednesday night.