-
Notifications
You must be signed in to change notification settings - Fork 246
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
binaries for releases #31
Comments
Thanks very much for the suggestion, and for taking the initiative to build a CI pipeline. I like it, and will aim to incorporate it into the official repo and make binaries available. Glad you enjoy the tool! |
#41 to the rescue? :) |
I'm doing this in I provide these binaries: find dist -iname '*.tar*' | cut -c 6-
I do it via Makefile: .PHONY:
dist:
rm -rf dist && mkdir dist && $(MAKE) -j$(shell nproc) bdist && \
find dist -executable -type f | parallel tar --zstd -c -v -f {}.tar.zstd {}
.PHONY:
bdist:
GOOS=darwin GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.darwin
GOOS=linux GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.linux
GOOS=windows GOARCH=amd64 go build -o dist/$(GOBIN).v$(VERSION).x86_64.windows.exe
GOOS=linux GOARCH=386 go build -o dist/$(GOBIN).v$(VERSION).x86.linux
GOOS=windows GOARCH=386 go build -o dist/$(GOBIN).v$(VERSION).x86.windows.exe
GOOS=linux GOARCH=arm64 go build -o dist/$(GOBIN).v$(VERSION).arm64.linux
GOOS=darwin GOARCH=arm64 go build -o dist/$(GOBIN).v$(VERSION).arm64.darwin
GOOS=linux GOARCH=arm go build -o dist/$(GOBIN).v$(VERSION).arm.linux |
@ctrlcctrlv feel free to use that github action in #41 to get all the assets compiled and published upon tagging like https://github.com/fopina/minica/releases/tag/v1.0.2-1 |
@fopina Thanks! :) Done in: |
For future releases, could we include pre-compiled binaries?
I should have asked earlier rather than wait til I needed it. In lieu of this repo currently shipping binaries, I've created a new repo that will house the binaries (currently for linux/macos) for anyone who wants them (plus the CI pipeline to show how they are built).
https://github.com/starkandwayne/minica-binaries/releases
I've also bundled these pre-compiled binaries into homebrew tap + a debian package if they are useful to anyone. See https://github.com/starkandwayne/minica-binaries readme.
If you like these and want them mentioned in the README here, I'll submit a PR.
Thanks for minica!
FYI - I'm using the pre-compiled binaries in my
helm-manager up
script to automatically generate TLS certs for Tiller https://github.com/starkandwayne/helm-tiller-manager/blob/master/bin/helm-manager#L47-L61The text was updated successfully, but these errors were encountered: