Skip to content

chore: update goreleaser ldflags and optimize build#118

Merged
sylr merged 2 commits into
mainfrom
chore/better-build-flags
Feb 20, 2026
Merged

chore: update goreleaser ldflags and optimize build#118
sylr merged 2 commits into
mainfrom
chore/better-build-flags

Conversation

@sylr

@sylr sylr commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Update ldflags to add -s -w flags to strip debug info, -trimpath for reproducible builds.

@sylr sylr requested a review from a team as a code owner February 20, 2026 14:49
@coderabbitai

coderabbitai Bot commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • .goreleaser.yml is excluded by !**/*.yml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/better-build-flags

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sylr sylr changed the title chore: update goreleaser ldflags for v3 module path and optimize build chore: update goreleaser ldflags and optimize build Feb 20, 2026
Update ldflags to add -s -w flags to strip debug info, -trimpath for reproducible builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sylr sylr force-pushed the chore/better-build-flags branch from 232ad83 to 7b26363 Compare February 20, 2026 14:52
@sylr sylr merged commit 061ce19 into main Feb 20, 2026
4 checks passed
@sylr sylr deleted the chore/better-build-flags branch February 20, 2026 15:45
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

Successfully merging this pull request may close these issues.

2 participants