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

Add cross-platform binaries to github releases #31

Closed
geofffranks opened this issue Jul 1, 2016 · 8 comments
Closed

Add cross-platform binaries to github releases #31

geofffranks opened this issue Jul 1, 2016 · 8 comments

Comments

@geofffranks
Copy link

Would it be possible to add 64-bit binaries for darwin/linux (and any other platforms you want to support) to the github releases as artifacts? Both for past releases and future releases?

It would be really useful if we could just download the binary, and stick in our docker images, without having to install all of golang, just to go get this one utility.

@geofffranks
Copy link
Author

Any thoughts on this? I'd be more than happy to help.

@mcpherrinm
Copy link
Contributor

Seems good. It's mostly a matter of figuring out a travis-ci script to save binaries (and appveyor for a Windows .exe too). I guess the thing to use is "github releases".

@alokmenghrajani
Copy link
Contributor

👍 for setting some kind of automated script. We should do it for all our Go repos.

@beneshed
Copy link

+1

@mikesimons
Copy link
Contributor

Here are a couple of examples on how to do this by cross compiling all three binaries on travis.

https://github.com/mozilla/sops/blob/master/.travis.yml
https://github.com/mikesimons/pacyak/blob/master/.travis.yml

These are both set to deploy a release when a commit is tagged.

@mcpherrinm
Copy link
Contributor

Thanks for linking those references; this looks pretty straightfoward.

@tboerger
Copy link

Looks like this have been merged.

@csstaub
Copy link
Contributor

csstaub commented Sep 29, 2017

Yep, it has :)

@csstaub csstaub closed this as completed Sep 29, 2017
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

7 participants