Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish the binary to a tap #9

Open
DblK opened this issue Sep 3, 2020 · 2 comments
Open

Publish the binary to a tap #9

DblK opened this issue Sep 3, 2020 · 2 comments

Comments

@DblK
Copy link

DblK commented Sep 3, 2020

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 ;)

@mitranim
Copy link
Owner

mitranim commented Sep 4, 2020

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?

@DblK
Copy link
Author

DblK commented Sep 4, 2020

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants