Adding writeversion task for deploy