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

Sign built Go binaries for macOS #667

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ build_dist:
go build -o ${OUTFILE}
make -C helper OUTFILE=../pganalyze-collector-helper
make -C setup OUTFILE=../pganalyze-collector-setup
# Sign built Go binaries for macOS
@if [ "$(shell uname)" = "Darwin" ] && command -v codesign > /dev/null 2>&1; then \
codesign --force --sign - ${OUTFILE}; \
codesign --force --sign - pganalyze-collector-helper; \
codesign --force --sign - pganalyze-collector-setup; \
fi

build_dist_alpine:
# Increase stack size from Alpine's default of 80kb to 2mb - otherwise we see
Expand Down
Loading