Nightly Builds can be created by zipping the "core"-folder. Thats all you have todo.
For beta versions we have to edit the file "includes/version.php" and change $kga['status'] to "beta".
For a release we have to do the following: