Yes, he did publish mathematics books. In 1637, Descartes published his book called "La Géométrie" (Geometry), which is considered to be the first textbook of analytic geometry. In this book, Descartes introduced the Cartesian coordinate system, which is still used today.
The Remarkable Journey of Ronald Graham: A Mathematically Engaging Quiz