automating the build process with publish.bat