How I packaged a Go program for Windows and Linux
In the two months since I published gg 1.0, a project to reduce the friction in working with Git, I’ve been working to make it more accessible and easier to install. To this end, I’ve made three big improvements:
- A standalone Go library,
gg-scm.io/pkg/git
, allows any Go program to interact with Git repositories. (I may end up writing another blog post just about this — stay tuned!) - Windows support, complete with MSI installer.
- An APT repository for Debian and Ubuntu users.
If you’re interested in trying out gg, it’s never been easier: see the instructions at gg-scm.io. Read on if you’re interested in how to package a Go program for Windows and Linux.