Open your SSAS project in IDE and build it. It will generate the following files in bin folder
Run the Analysis Services deployment wizard, speciy the SSAS database to the YourDB.asdatabase file and set the options that you need.
In the confirm deployment option, select "Create deployment script" option and specify a path.
This will create a XMLA file
Now you have 2 options to release the SSAS DB to your production server
option 1 : Connect using SSMS and execute the xmla script.
option 2 : If you want to run it as part of the batch file, use ascmd.exe to release it.