API:GetVersion

Gets the current version/patch.

Example:

/script DEFAULT_CHAT_FRAME:AddMessage(GetVersion);

Will return the name of the current version/patch to the chat frame.