gow icon indicating copy to clipboard operation
gow copied to clipboard

Publish the binary to a tap

Open DblK opened this issue 4 years ago • 2 comments

Recently I have an issue because I did not update the repo of gow on my local machine.

Would it be possible to publish a tap with the binary to it can be easily updated on a system with homebrew?

You can use Go Releaser to automate all the tasks.

Thx for your binary ;)

DblK avatar Sep 03 '20 19:09 DblK

Thanks for the tip. Might be a good idea for multiple reasons. For example, one thing that keeps coming up is that not every Go user has $GOPATH/bin added to $PATH, so the installation is cumbersome for some.

Out of curiosity, what prevents you from installing/updating via go get right now? Edit: or did you mean you had an issue because gow didn't get updated, because this requires go get -u, rather than brew upgrade?

mitranim avatar Sep 04 '20 07:09 mitranim

I have to use go get -u but because I was working on a project those dependencies were added to the go.mod file. I had to delete them afterwards. Nothing difficult, I should have open another terminal for that but forgot ;).

To be sure nothing prevents me for updating, I just had a hard time figuring out I need to update it because go build was working just fine ;)

DblK avatar Sep 04 '20 07:09 DblK