CreateTempDir
* Add CreateTempDir func and use it in publish packages logic * Fill err return in defer func