I mean, what if you needed to change the way it worked? With bash you'd have to open a text editor, change a line, and save the file! And on top of that you need to understand shell scripting!
With Go, you can set up your development environment, edit the source code, run the compiler, download the external dependencies, generate a new binary, and copy it to your server. And all this requires is learning the Go language and its development model. This is clearly more advanced, and thus better.
> "Ansible ... would be a handful of lines"
How many lines are a handful? Ansible is a few hundred thousand.
If you're enjoying `uv`, consider `mise` for small helpers like the above.
Plays well with `uv`, handles this sort of thing with tasks:
And I assume you want to be building once to test your changes anyways, so you really only need to push.
Long scripts suck in Makefile, but can call external scripts for anything big.