Try butler; you can just run a command and it’ll automatically do it. If you’re pushing to GitHub, you can even have an automatic script build and push on every commit