In my projects I am usually separate scripts like next: * Android script (usually it is big script as is) * Publish script (same) * Common script