The pledge includes a clause saying that the candidate will support the eventual GOP nominee.