The decision is in: Andy Pettitte isn't set to retire just yet.

According to a source, Pettitte has decided to pitch in 2013, ending his six-week deliberation about his future.

"He has committed to playing next year," the source said.

Now it's up to Brian Cashman and Pettitte's agent, Jim Murray, to hammer out a deal for the lefthander. Sources said the Yankees are expected to give Pettitte $10-11 million next season, a substantial raise from the $2.5 million he earned in 2012 after coming out of retirement.

Although Pettitte hadn't made any official decision before Tuesday, the fact that the 40-year-old recently began working out to see how his body felt was an indication that he had received the blessing of his wife and children to pitch next season.

The Yankees are also getting closer to a deal with Mariano Rivera, who could be signed by the end of the week. The Yankees have focused solely on their pitching staff this offseason, already locking up Hiroki Kuroda with a one-year, $15 million deal.

It remains to be seen how much money the Yankees guarantee the 43-year-old closer, who is coming back after missing the final five months of the 2012 season with a torn ACL in his right knee. Rivera, who just completed a two-year, $30 million deal, could receive a lower guaranteed salary plus incentives that could increase the deal to his previous level.

Read more: